From 693cfd62cda56a287661faf6cabd55d35e48746d Mon Sep 17 00:00:00 2001 From: Ilkka Ollakka Date: Mon, 5 Jul 2010 10:00:10 +0300 Subject: [PATCH] x264: forgotten free() spotted by ivoire --- modules/codec/x264.c | 1 + 1 file changed, 1 insertion(+) 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 ) -- 2.39.2