[vlc-devel] [PATCH 3/3] subtitle-demux: fix memory leaks (fixes #11908)

Hannes Domani ssbssa at yahoo.de
Tue Sep 9 02:32:59 CEST 2014


p_sys->psz_header was never freed in the loop, nor at the end.

And the use of asprintf() slows the loop down tremendously (at
least with the example of #11908).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-subtitle-demux-fix-memory-leaks-fixes-11908.patch
Type: application/octet-stream
Size: 1704 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20140909/73333aca/attachment.obj>


More information about the vlc-devel mailing list