[Poppler-bugs] [Bug 89952] Memory Leak in CairoFreeTypeFont::create

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Apr 12 17:23:33 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=89952

--- Comment #7 from Jason Crain <jason at aquaticape.us> ---
(In reply to Carlos Garcia Campos from comment #6)
> You should also free the bytes in _ft_new_face when FT_New_Memory_Face
> fails, no?

It should be fine because when FT_New_Memory_Face fails, _ft_new_face will
return false, and CairoFreeTypeFont::create will free it in the err2 label.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler-bugs/attachments/20150413/81049bab/attachment.html>


More information about the Poppler-bugs mailing list