vlc | branch: master | Hannes Domani <[email protected]> | Sat Jan 16 14:01:40 
2016 +0100| [d11e004ceb785e96b6115114455fd132b1728733] | committer: 
Jean-Baptiste Kempf

vobsub: fix memory leak

Signed-off-by: Jean-Baptiste Kempf <[email protected]>

> 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

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to