Commit 9c8721d8 authored by Hannes Domani's avatar Hannes Domani Committed by Rémi Denis-Courmont

x264: fix memory leak

Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
(cherry picked from commit c3a908c4d1cedbb7d6b2efbe037380dc80528267)
parent 70a8fffb
...@@ -1150,8 +1150,8 @@ static int Open ( vlc_object_t *p_this ) ...@@ -1150,8 +1150,8 @@ static int Open ( vlc_object_t *p_this )
{ {
p_sys->param.analyse.i_me_method = X264_ME_TESA; p_sys->param.analyse.i_me_method = X264_ME_TESA;
} }
free( psz_val );
} }
free( psz_val );
i_val = var_GetInteger( p_enc, SOUT_CFG_PREFIX "merange" ); i_val = var_GetInteger( p_enc, SOUT_CFG_PREFIX "merange" );
if( i_val >= 0 && i_val <= 64 && i_val != 16 ) if( i_val >= 0 && i_val <= 64 && i_val != 16 )
......
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