[vlc-devel] [PATCH] demux: plug leaks

Shaleen Jain shaleen.jain95 at gmail.com
Mon Jul 31 15:28:40 CEST 2017


Regards,
Shaleen Jain

On Mon, Jul 31, 2017 at 6:09 PM, Francois Cartegnie <fcvlcdev at free.fr> 
wrote:
> Le 31/07/2017 à 14:08, Shaleen Jain a écrit :
>>  +    es_out_Del( p_demux->out, p_sys->p_sub );
>>  +    es_out_Del( p_demux->out, p_sys->p_audio );
>>  +    es_out_Del( p_demux->out, p_sys->p_video );
>>       free( p_sys );
> 
> ES are automatically deleted at the end.
> 
End of what?

These are es_out_id_t created by es_out_Add which I believe have to be 
freed with es_out_Del.

Most of the modules free it except the few ones above.

> Francois
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20170731/6ab949a8/attachment.html>


More information about the vlc-devel mailing list