]> git.sesse.net Git - vlc/commitdiff
x264: forgotten free() spotted by ivoire
authorIlkka Ollakka <ileoo@videolan.org>
Mon, 5 Jul 2010 07:00:10 +0000 (10:00 +0300)
committerIlkka Ollakka <ileoo@videolan.org>
Mon, 5 Jul 2010 07:00:10 +0000 (10:00 +0300)
modules/codec/x264.c

index 7b6b8096ba2ff0ec7ec8642adbe0b5a8e38260d5..c88635a423fe94ef43d12119569f756658fdcdd5 100644 (file)
@@ -919,6 +919,7 @@ static int  Open ( vlc_object_t *p_this )
         p_sys->param.i_open_gop = X264_OPEN_GOP_NORMAL;
     else if( !strcmp( psz_val, "bluray" ) )
         p_sys->param.i_open_gop = X264_OPEN_GOP_BLURAY;
+    free( psz_val );
 #endif
     i_val = var_GetInteger( p_enc, SOUT_CFG_PREFIX "bframes" );
     if( i_val >= 0 && i_val <= 16 && i_val != 3 )