Commit 75b56214 authored by Ilkka Ollakka's avatar Ilkka Ollakka

x264.c: don't leak on getString

parent 0e22b04b
...@@ -841,6 +841,7 @@ static int Open ( vlc_object_t *p_this ) ...@@ -841,6 +841,7 @@ static int Open ( vlc_object_t *p_this )
{ {
p_sys->param.i_bframe_pyramid = X264_B_PYRAMID_NORMAL; p_sys->param.i_bframe_pyramid = X264_B_PYRAMID_NORMAL;
} }
free( psz_val );
#else #else
p_sys->param.b_bframe_pyramid = var_GetBool( p_enc, SOUT_CFG_PREFIX "bpyramid" ); p_sys->param.b_bframe_pyramid = var_GetBool( p_enc, SOUT_CFG_PREFIX "bpyramid" );
#endif #endif
......
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