[vlc-commits] Avformat mux: fix a memory leak

Adrien Maglo git at videolan.org
Wed Jul 30 16:45:01 CEST 2014


vlc | branch: master | Adrien Maglo <magsoft at videolan.org> | Wed Jul 30 16:44:29 2014 +0200| [1d3afcdb03b4dab9938ae311205e6364e34f6ec5] | committer: Adrien Maglo

Avformat mux: fix a memory leak

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

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

diff --git a/modules/demux/avformat/mux.c b/modules/demux/avformat/mux.c
index cac7c2d..c9532f5 100644
--- a/modules/demux/avformat/mux.c
+++ b/modules/demux/avformat/mux.c
@@ -161,6 +161,7 @@ void CloseMux( vlc_object_t *p_this )
     }
 
     avformat_free_context(p_sys->oc);
+    av_free(p_sys->io);
 
     free( p_sys->io_buffer );
     free( p_sys );



More information about the vlc-commits mailing list