[Webkit-unassigned] [Bug 37500] New: [Gtk] Fix leaking the FontPlatformData instance used to create the the small caps font data.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Apr 13 07:01:44 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=37500
Summary: [Gtk] Fix leaking the FontPlatformData instance used
to create the the small caps font data.
Product: WebKit
Version: 528+ (Nightly build)
Platform: Other
OS/Version: All
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: Platform
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: superstippi at gmx.de
WebCore::SimpleFontData::smallCapsFontData() is allocating a FontPlatformData
object on the heap and assigns it to a const pointer and never frees it. The
FontPlatformData is used for assigning the member of the same type in a
SimpleFontData object. Usually, ports implement the data of FontPlatformData to
be reference counted, and the instance in SimpleFontData takes over the
ownership (same in the Gtk port). The Haiku port contained the same problem
initially, that's why I spotted it when cross referencing the Gtk port.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list