[MPlayer-dev-eng] PATCH: memleak in vobsub idx parser

elupus elupus at ecce.se
Sat Dec 25 04:20:41 CET 2004


Rather big memleak in the idx parser for vobsub.

getline, keeps allocating atleast 4096 bytes of data for each line in the
idx and it's never is freed.

Scary example of a big vobsub that increased mplayer memfootprint by 30 mb
(that not including the load of the sub file) :/

Merry X-Mas

elupus
Team XBMC
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vobsub.c.patch
Type: application/octet-stream
Size: 742 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20041225/5827094a/attachment.obj>


More information about the MPlayer-dev-eng mailing list