[cairo-bugs] [Bug 4192] New: _cairo_ft_unscaled_font_fini does not
decrement font_map->num_open_faces
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Aug 22 13:43:06 PDT 2005
Please do not reply to this email: if you want to comment on the bug, go to
the URL shown below and enter yourcomments there.
https://bugs.freedesktop.org/show_bug.cgi?id=4192
Summary: _cairo_ft_unscaled_font_fini does not decrement
font_map->num_open_faces
Product: cairo
Version: cvs
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: ft font backend
AssignedTo: otaylor at redhat.com
ReportedBy: cworth at cworth.org
QAContact: cairo-bugs at cairographics.org
There's a logic bug in the handling of font_map->num_open_faces.
It should get decremented for every call to FT_Done_Face, but
_cairo_ft_unscaled_font_fini calls FT_Done_Face without decrementing
num_open_faces.
I think I introduced this bug with the hash rewrite. I also think an
assert statement in the cairo_debug_reset_static_data path should catch
it. I'll look into both detecting and fixing this bug.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
More information about the cairo-bugs
mailing list