Avformat mux: fix a memory leak
authorAdrien Maglo <magsoft@videolan.org>
Wed, 30 Jul 2014 14:44:29 +0000 (16:44 +0200)
committerAdrien Maglo <magsoft@videolan.org>
Wed, 30 Jul 2014 14:44:29 +0000 (16:44 +0200)
modules/demux/avformat/mux.c

index cac7c2d..c9532f5 100644 (file)
@@ -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 );