[Webkit-unassigned] [Bug 28278] New: Return type of getRGBColorValue needs to be changed to PassRefPtr to avoid memory leak

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 13 14:00:38 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=28278

           Summary: Return type of getRGBColorValue needs to be changed to
                    PassRefPtr to avoid memory leak
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: P3
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: rniwa at webkit.org
                CC: sam at webkit.org


CSSPrimitiveValue:: getRGBColorValue creates a new RGBColor object and releases
the RefPtr.  But the return type is a C pointer so that callers of this
function may not necessarily assign it to PassRef, which results in a memory
leak.

-- 
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