x264.c: don't leak on getString
authorIlkka Ollakka <ileoo@videolan.org>
Tue, 20 Oct 2009 10:05:15 +0000 (13:05 +0300)
committerIlkka Ollakka <ileoo@videolan.org>
Tue, 20 Oct 2009 10:05:15 +0000 (13:05 +0300)
modules/codec/x264.c

index 9fb9618..eefec11 100644 (file)
@@ -841,6 +841,7 @@ static int  Open ( vlc_object_t *p_this )
     {
        p_sys->param.i_bframe_pyramid = X264_B_PYRAMID_NORMAL;
     }
+    free( psz_val );
 #else
     p_sys->param.b_bframe_pyramid = var_GetBool( p_enc, SOUT_CFG_PREFIX "bpyramid" );
  #endif