[Webkit-unassigned] [Bug 10836] New: REGRESSION: Mac implementation of Font::drawGlyphs leaks a CGColorRef

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Wed Sep 13 06:27:57 PDT 2006


           Summary: REGRESSION: Mac implementation of Font::drawGlyphs leaks
                    a CGColorRef
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: NEW
          Keywords: Regression, EasyFix
          Severity: normal
          Priority: P2
         Component: Platform
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: opendarwin.org at bdash.net.nz

Line 594 of FontMac.mm
contains a call to cgColor(context->pen().color()) as part of the arguments of
a function call.  The CGColorRef returned by cgColor is retained and needs to
be released to prevent it from being leaked.  It seems as though
Font::drawComplexText (line 485) has the same problem.

This leak shows up in the Buildbot output at

Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list