Commit 01b8197c authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

subsdec: fix memory leak

parent b23f06cf
...@@ -638,6 +638,7 @@ static subpicture_t *ParseText( decoder_t *p_dec, block_t *p_block ) ...@@ -638,6 +638,7 @@ static subpicture_t *ParseText( decoder_t *p_dec, block_t *p_block )
p_spu_sys->align = SUBPICTURE_ALIGN_BOTTOM | p_sys->i_align; p_spu_sys->align = SUBPICTURE_ALIGN_BOTTOM | p_sys->i_align;
p_spu_sys->p_segments = ParseSubtitles( &p_spu_sys->align, psz_subtitle ); p_spu_sys->p_segments = ParseSubtitles( &p_spu_sys->align, psz_subtitle );
free( psz_subtitle );
//FIXME: Remove the variable? //FIXME: Remove the variable?
//if( var_InheritBool( p_dec, "subsdec-formatted" ) ) //if( var_InheritBool( p_dec, "subsdec-formatted" ) )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment