From: Ilkka Ollakka Date: Mon, 10 May 2010 14:04:46 +0000 (+0300) Subject: x264.c: forgotten free() added X-Git-Tag: 1.2.0-pre1~6710 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=314cd3825c7b20f77bab5fcc9909a7e700d88d3f;p=vlc x264.c: forgotten free() added --- diff --git a/modules/codec/x264.c b/modules/codec/x264.c index b9ce44d469..c7cd151cb8 100644 --- a/modules/codec/x264.c +++ b/modules/codec/x264.c @@ -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 ?