Commit f23994bf authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

filter: Fix leak

parent 9a321753
......@@ -81,7 +81,10 @@ void filter_DelProxyCallbacks( vlc_object_t *obj, filter_t *filter,
{
char *name = *pname;
if (!(var_Type(obj, name) & VLC_VAR_ISCOMMAND))
{
free(name);
continue;
}
int filter_var_type = var_Type(filter, name);
if (filter_var_type & VLC_VAR_ISCOMMAND)
......
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