[Webkit-unassigned] [Bug 28432] New: String::createCFString() returns a non-retained empty string

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 18 10:46:58 PDT 2009


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

           Summary: String::createCFString() returns a non-retained empty
                    string
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Minor
          Priority: P4
         Component: Platform
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ap at webkit.org


If String is null, createCFString() returns CFSTR(""). According to CFString.h,
'CFSTR(), not being a "Copy" or "Create" function, does not return a new
reference for you. So, you should not release the return value.'

I am not aware of any practical issues caused by this, but we should probably
comply.

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