From 314cd3825c7b20f77bab5fcc9909a7e700d88d3f Mon Sep 17 00:00:00 2001 From: Ilkka Ollakka Date: Mon, 10 May 2010 17:04:46 +0300 Subject: [PATCH] x264.c: forgotten free() added --- modules/codec/x264.c | 1 + 1 file changed, 1 insertion(+) 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 ? -- 2.39.5