[vlc-devel] [PATCH] vobsub: fix memory leak

Hannes Domani ssbssa at yahoo.de
Sat Jan 16 14:01:40 CET 2016


---
 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
-- 
2.7.0



More information about the vlc-devel mailing list