[vlc-devel] [PATCH 3/3] avformat: fix memory leak
Hannes Domani
ssbssa at yahoo.de
Fri Jan 29 16:01:57 CET 2016
---
modules/demux/avformat/demux.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/demux/avformat/demux.c b/modules/demux/avformat/demux.c
index 424d854..a56be31 100644
--- a/modules/demux/avformat/demux.c
+++ b/modules/demux/avformat/demux.c
@@ -320,6 +320,7 @@ int OpenDemux( vlc_object_t *p_this )
{
msg_Err( p_demux, "Could not open %s: %s", psz_url,
vlc_strerror_c(AVUNERROR(error)) );
+ av_free( p_io_buffer );
av_free( pb );
p_sys->ic = NULL;
free( psz_url );
--
2.7.0
More information about the vlc-devel
mailing list