Commit 6b176dfc authored by Christophe Mutricy's avatar Christophe Mutricy

Fix memleak

Closes #2307
parent aa79a7b2
...@@ -1778,6 +1778,7 @@ static int VideoConfig( vlc_object_t *p_this, char const *psz_cmd, ...@@ -1778,6 +1778,7 @@ static int VideoConfig( vlc_object_t *p_this, char const *psz_cmd,
VLC_VAR_GETLIST, &val, &text ) < 0 ) VLC_VAR_GETLIST, &val, &text ) < 0 )
{ {
vlc_object_release( p_vout ); vlc_object_release( p_vout );
free( psz_value );
return VLC_EGENERIC; return VLC_EGENERIC;
} }
......
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