Commit 9ae6571a authored by Rémi Duraffort's avatar Rémi Duraffort

transcode: fix memory leak

parent cc67f025
...@@ -444,7 +444,7 @@ static int Open( vlc_object_t *p_this ) ...@@ -444,7 +444,7 @@ static int Open( vlc_object_t *p_this )
char *psz_next; char *psz_next;
psz_next = config_ChainCreate( &p_sys->psz_osdenc, psz_next = config_ChainCreate( &p_sys->psz_osdenc,
&p_sys->p_osd_cfg, strdup( "dvbsub") ); &p_sys->p_osd_cfg, "dvbsub" );
free( psz_next ); free( psz_next );
p_sys->i_osdcodec = VLC_CODEC_YUVP; p_sys->i_osdcodec = VLC_CODEC_YUVP;
......
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