[vlc-commits] input: memory leak

Rémi Denis-Courmont git at videolan.org
Wed Jan 13 17:38:17 CET 2016


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Jan 13 18:37:39 2016 +0200| [a3f92eaf5e2a5316cf4eb48ebda636c126620082] | committer: Rémi Denis-Courmont

input: memory leak

(demux_Packetizer... could use some factorization with decoder_...)

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

 src/input/demux.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/src/input/demux.c b/src/input/demux.c
index 98a3430..346b06b 100644
--- a/src/input/demux.c
+++ b/src/input/demux.c
@@ -584,6 +584,7 @@ void demux_PacketizerDestroy( decoder_t *p_packetizer )
     if( p_packetizer->p_module )
         module_unneed( p_packetizer, p_packetizer->p_module );
     es_format_Clean( &p_packetizer->fmt_in );
+    es_format_Clean( &p_packetizer->fmt_out );
     if( p_packetizer->p_description )
         vlc_meta_Delete( p_packetizer->p_description );
     vlc_object_release( p_packetizer );



More information about the vlc-commits mailing list