[Webkit-unassigned] [Bug 279528] New: Prefer CFDataCreateMutable over [[NSMutableData alloc] init] followed by a cast

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 11 11:38:57 PDT 2024


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

            Bug ID: 279528
           Summary: Prefer CFDataCreateMutable over [[NSMutableData alloc]
                    init] followed by a cast
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Platform
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: doremylover123 at gmail.com

Creating an NSMutableArray and only to use it as casted to CFMutableArrayRef is uglier than just making a CFMutableData object and releasing that when done.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240911/49c294ff/attachment.htm>


More information about the webkit-unassigned mailing list