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

grain: remove callback before destroying callback data

parent 05f6eeb5
......@@ -427,6 +427,7 @@ 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 "variance", Callback, NULL);
vlc_mutex_destroy(&sys->cfg.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