Skip to content
Snippets Groups Projects
Commit c768a6cf authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

grain: remove callback before destroying callback data

parent 05f6eeb5
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment