[vlc-commits] vobsub: fix memory leak

Hannes Domani git at videolan.org
Sat Jan 16 17:30:59 CET 2016


vlc | branch: master | Hannes Domani <ssbssa at yahoo.de> | Sat Jan 16 14:01:40 2016 +0100| [d11e004ceb785e96b6115114455fd132b1728733] | committer: Jean-Baptiste Kempf

vobsub: fix memory leak

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 modules/demux/vobsub.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/demux/vobsub.c b/modules/demux/vobsub.c
index 1829cb5..fab7f8e 100644
--- a/modules/demux/vobsub.c
+++ b/modules/demux/vobsub.c
@@ -412,6 +412,8 @@ static int Demux( demux_t *p_demux )
             /* demux this block */
             DemuxVobSub( p_demux, p_block );
 
+            block_Release( p_block );
+
             tk.i_current_subtitle++;
         }
 #undef tk



More information about the vlc-commits mailing list