]> git.sesse.net Git - vlc/commitdiff
x264.c: forgotten free() added
authorIlkka Ollakka <ileoo@videolan.org>
Mon, 10 May 2010 14:04:46 +0000 (17:04 +0300)
committerIlkka Ollakka <ileoo@videolan.org>
Mon, 10 May 2010 14:04:46 +0000 (17:04 +0300)
modules/codec/x264.c

index b9ce44d469c80e6521d8c9f14e3b2882ccedc131..c7cd151cb8126587ac04c1fd29f49b4559eecded 100644 (file)
@@ -966,6 +966,7 @@ static int  Open ( vlc_object_t *p_this )
         p_sys->param.i_nal_hrd = X264_NAL_HRD_VBR;
     else if( !strcmp( psz_val, "cbr" ) )
         p_sys->param.i_nal_hrd = X264_NAL_HRD_CBR;
+    free( psz_val );
 #endif
 
     //TODO: psz_val == NULL ?