From: Ilkka Ollakka Date: Mon, 5 Jul 2010 07:00:10 +0000 (+0300) Subject: x264: forgotten free() spotted by ivoire X-Git-Tag: 1.2.0-pre1~5945 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=693cfd62cda56a287661faf6cabd55d35e48746d;p=vlc x264: forgotten free() spotted by ivoire --- diff --git a/modules/codec/x264.c b/modules/codec/x264.c index 7b6b8096ba..c88635a423 100644 --- a/modules/codec/x264.c +++ b/modules/codec/x264.c @@ -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 )