[vlc-devel] [PATCH] transform: destroy variable
Victorien Le Couviour--Tuffet
victorien.lecouviour.tuffet at gmail.com
Sun Jul 2 13:29:59 CEST 2017
---
modules/video_filter/transform.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/modules/video_filter/transform.c b/modules/video_filter/transform.c
index 7c88f234ef..c4a5d98673 100644
--- a/modules/video_filter/transform.c
+++ b/modules/video_filter/transform.c
@@ -436,6 +436,7 @@ static int Open(vlc_object_t *object)
filter->pf_video_mouse = Mouse;
return VLC_SUCCESS;
error:
+ var_Destroy(filter, CFG_PREFIX "type");
free(sys);
return VLC_EGENERIC;
}
@@ -445,5 +446,6 @@ static void Close(vlc_object_t *object)
filter_t *filter = (filter_t *)object;
filter_sys_t *sys = filter->p_sys;
+ var_Destroy(filter, CFG_PREFIX "type");
free(sys);
}
--
2.13.1
More information about the vlc-devel
mailing list