Commit d11e004c authored by Hannes Domani's avatar Hannes Domani Committed by Jean-Baptiste Kempf

vobsub: fix memory leak

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 2fc4c0c1
...@@ -412,6 +412,8 @@ static int Demux( demux_t *p_demux ) ...@@ -412,6 +412,8 @@ static int Demux( demux_t *p_demux )
/* demux this block */ /* demux this block */
DemuxVobSub( p_demux, p_block ); DemuxVobSub( p_demux, p_block );
block_Release( p_block );
tk.i_current_subtitle++; tk.i_current_subtitle++;
} }
#undef tk #undef tk
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment