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

Jean-Baptiste Kempf jb at videolan.org
Sat Jan 16 18:55:36 CET 2016


Merged. Thanks.

On 16 Jan, Hannes Domani wrote :
> ---
>  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
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel

-- 
With my kindest regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device


More information about the vlc-devel mailing list