[vlc-commits] stream_Demux: memory leak

Rémi Denis-Courmont git at videolan.org
Tue Aug 21 17:32:55 CEST 2012


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Aug 21 17:47:47 2012 +0300| [719b6a75313f88581fffb582cccc2aea71d40652] | committer: Rémi Denis-Courmont

stream_Demux: memory leak

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

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

diff --git a/src/input/stream_demux.c b/src/input/stream_demux.c
index 859cd78..e7f7bd6 100644
--- a/src/input/stream_demux.c
+++ b/src/input/stream_demux.c
@@ -95,6 +95,7 @@ stream_t *stream_DemuxNew( demux_t *p_demux, const char *psz_demux, es_out_t *ou
 
     if( vlc_clone( &p_sys->thread, DStreamThread, s, VLC_THREAD_PRIORITY_INPUT ) )
     {
+        block_FifoRelease( p_sys->p_fifo );
         stream_CommonDelete( s );
         free( p_sys->psz_name );
         free( p_sys );



More information about the vlc-commits mailing list