WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
279528
Prefer CFDataCreateMutable over [[NSMutableData alloc] init] followed by a cast
https://bugs.webkit.org/show_bug.cgi?id=279528
Summary
Prefer CFDataCreateMutable over [[NSMutableData alloc] init] followed by a cast
Seija K.
Reported
2024-09-11 11:38:57 PDT
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.
Attachments
Add attachment
proposed patch, testcase, etc.
Ahmad Saleem
Comment 1
2024-09-11 11:58:54 PDT
PR -
https://github.com/WebKit/WebKit/pull/33478
Radar WebKit Bug Importer
Comment 2
2024-09-18 11:40:19 PDT
<
rdar://problem/136238408
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug