[vlc-devel] [PATCH 7/8] misc/filter_chain: fix leak of config_chain_t
Filip Roséen
filip at atch.se
Fri Sep 23 15:43:15 CEST 2016
fixes #17429
---
src/misc/filter_chain.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/misc/filter_chain.c b/src/misc/filter_chain.c
index 7bb96d6..df71fa4 100644
--- a/src/misc/filter_chain.c
+++ b/src/misc/filter_chain.c
@@ -287,6 +287,10 @@ void filter_chain_DeleteFilter( filter_chain_t *chain, filter_t *filter )
free( chained->mouse );
es_format_Clean( &filter->fmt_out );
es_format_Clean( &filter->fmt_in );
+
+ if( filter->p_cfg )
+ config_ChainDestroy( filter->p_cfg );
+
vlc_object_release( filter );
/* FIXME: check fmt_in/fmt_out consitency */
}
--
2.10.0
More information about the vlc-devel
mailing list