From f99e6e90765317fcb160ffc90309d7b3e85be4c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Duraffort?= Date: Tue, 12 Aug 2008 22:21:52 +0200 Subject: [PATCH] Fix memleaks when closing the module. --- modules/mux/asf.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/mux/asf.c b/modules/mux/asf.c index 4b9d24f0fe..f2c3c8c861 100644 --- a/modules/mux/asf.c +++ b/modules/mux/asf.c @@ -294,6 +294,12 @@ static void Close( vlc_object_t * p_this ) free( p_sys->track[i].p_extra ); es_format_Clean( &p_sys->track[i].fmt ); } + + free( p_sys->psz_title ); + free( p_sys->psz_author ); + free( p_sys->psz_copyright ); + free( p_sys->psz_comment ); + free( p_sys->psz_rating ); free( p_sys ); }