Commit 05f6eeb5 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

gradfun: remove callback before destroying callback data

parent c0d70328
......@@ -160,6 +160,8 @@ static void Close(vlc_object_t *object)
filter_t *filter = (filter_t *)object;
filter_sys_t *sys = filter->p_sys;
var_DelCallback(filter, CFG_PREFIX "radius", Callback, NULL);
var_DelCallback(filter, CFG_PREFIX "strength", Callback, NULL);
free(sys->base_buf);
vlc_mutex_destroy(&sys->lock);
free(sys);
......
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