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

Hannes Domani ssbssa at yahoo.de
Wed Sep 10 13:11:25 CEST 2014


Rémi Denis-Courmont <remi at remlab.net> schrieb am 8:56 Mittwoch, 10.September 2014:

> Le 2014-09-09 03:32, Hannes Domani a écrit :
> > p_sys->psz_header was never freed in the loop, nor at the end.
>
> So just add the missing free().

Done.

But I still think asprintf() is a bad choice here.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-subtitle-demux-fix-memory-leaks-fixes-11908.patch
Type: application/octet-stream
Size: 1036 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20140910/22e2d4f7/attachment.obj>


More information about the vlc-devel mailing list