Commit 5eab7541 authored by ivoire's avatar ivoire

Fix memleak

parent f04d366c
......@@ -177,6 +177,7 @@ static int Create( vlc_object_t *p_this )
psz_temp = var_CreateGetStringCommand( p_filter, CFG_PREFIX "base-chroma" );
p_sys->i_base_chroma = VLC_FOURCC( psz_temp[0], psz_temp[1],
psz_temp[2], psz_temp[3] );
free( psz_temp );
blendbench_LoadImage( p_this, &p_sys->p_base_image, p_sys->i_base_chroma,
var_CreateGetStringCommand( p_filter, CFG_PREFIX "base-image" ),
"Base" );
......@@ -185,6 +186,7 @@ static int Create( vlc_object_t *p_this )
CFG_PREFIX "blend-chroma" );
p_sys->i_blend_chroma = VLC_FOURCC( psz_temp[0], psz_temp[1],
psz_temp[2], psz_temp[3] );
free( psz_temp );
blendbench_LoadImage( p_this, &p_sys->p_blend_image, p_sys->i_blend_chroma,
var_CreateGetStringCommand( p_filter, CFG_PREFIX "blend-image" ),
"Blend" );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment