[vlc-commits] grain: remove callback before destroying callback data
Rémi Denis-Courmont
git at videolan.org
Wed Aug 31 23:02:55 CEST 2011
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Aug 31 19:56:27 2011 +0300| [c768a6cfcff60e73a1b9f4f910f61d0c9b11df0f] | committer: Rémi Denis-Courmont
grain: remove callback before destroying callback data
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c768a6cfcff60e73a1b9f4f910f61d0c9b11df0f
---
modules/video_filter/grain.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/modules/video_filter/grain.c b/modules/video_filter/grain.c
index a948046..1d5f9cc 100644
--- a/modules/video_filter/grain.c
+++ b/modules/video_filter/grain.c
@@ -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);
}
More information about the vlc-commits
mailing list