summaryrefslogtreecommitdiffstats
path: root/video/filter/vf.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/filter/vf.c')
-rw-r--r--video/filter/vf.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/video/filter/vf.c b/video/filter/vf.c
index 257d65e58b..215bf0dc0e 100644
--- a/video/filter/vf.c
+++ b/video/filter/vf.c
@@ -501,6 +501,9 @@ void vf_uninit_filter(vf_instance_t *vf)
if (vf->uninit)
vf->uninit(vf);
vf_forget_frames(vf);
+ const m_struct_t *st = vf->info->opts;
+ if (st)
+ m_struct_free(st, vf->priv);
talloc_free(vf);
}