[MPlayer-dev-eng] [PATCH] fix a memleak on sub_font, it was never freed

Guillaume LECERF foxcore at gmail.com
Thu Jan 3 19:35:29 CET 2008


Hi again,

Happy New Year to everyone.

2007/12/27, Ulion <ulion2002 at gmail.com>:
> Looks correct, but you missed another place in mplayer.c assign
> sub_font by vo_font.

Here is the updated patch, and I followed you advice and removed the
free from load_font_ft and placed it before every call.

-- 
Guillaume LECERF
GeeXboX developer - www.geexbox.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: font-leaks.diff
Type: text/x-diff
Size: 5791 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20080103/5f27270c/attachment.diff>


More information about the MPlayer-dev-eng mailing list