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

Guillaume LECERF foxcore at gmail.com
Thu Jan 3 19:55:30 CET 2008


2008/1/3, Benjamin Zores <ben at geexbox.org>:
>         if (sub_font_name)
>             load_font_ft(dxs, dys, &sub_font, sub_font_name);
>         else
> -           sub_font = vo_font;
> +           load_font_ft(dxs, dys, &sub_font, font_name);
>
>
> => load_font_ft(dxs, dyx, &sub_font, sub_font_name ? sub_font_name :
> font_name);

Patch updated.


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


More information about the MPlayer-dev-eng mailing list