[vlc-commits] mux: ts: fix memory leak

Hannes Domani git at videolan.org
Sun Feb 15 22:35:20 CET 2015


vlc | branch: master | Hannes Domani <ssbssa at yahoo.de> | Sun Feb 15 19:19:44 2015 +0100| [5a71956f2c9b412d32034c93fd819301626daa99] | committer: Rémi Denis-Courmont

mux: ts: fix memory leak

Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5a71956f2c9b412d32034c93fd819301626daa99
---

 modules/mux/mpeg/tables.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/mux/mpeg/tables.c b/modules/mux/mpeg/tables.c
index 6721f96..31ea3ae 100644
--- a/modules/mux/mpeg/tables.c
+++ b/modules/mux/mpeg/tables.c
@@ -482,6 +482,8 @@ void BuildPMT( DVBPSI_HANDLE_PARAM(dvbpsi_t *p_dvbpsi) vlc_object_t *p_object,
         dvbpsi_DeletePSISections( sect );
         dvbpsi_EmptySDT( &sdtpsi );
     }
+
+    free( dvbpmt );
 }
 
 



More information about the vlc-commits mailing list