[vlc-commits] demux: ts: fix mpeg4desc leak

Francois Cartegnie git at videolan.org
Tue Mar 3 17:21:21 CET 2015


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Mar  3 17:17:33 2015 +0100| [6d35a852a8d1a655670ec3aca909cd574e253162] | committer: Francois Cartegnie

demux: ts: fix mpeg4desc leak

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

 modules/demux/ts.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/demux/ts.c b/modules/demux/ts.c
index 9344a74..d3243bb 100644
--- a/modules/demux/ts.c
+++ b/modules/demux/ts.c
@@ -5684,6 +5684,7 @@ static void ts_pes_Del( demux_t *p_demux, ts_pes_t *pes )
         block_ChainRelease( pes->p_prepcr_outqueue );
 
     es_format_Clean( &pes->es.fmt );
+    free( pes->es.p_mpeg4desc );
 
     for( int i = 0; i < pes->extra_es.i_size; i++ )
     {



More information about the vlc-commits mailing list