Bug 235162 - Fix a few Objective-C object leaks due to early returns in `init`
Summary: Fix a few Objective-C object leaks due to early returns in `init`
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Tim Horton
URL:
Keywords: InRadar
Depends on:
Blocks: 236033
  Show dependency treegraph
 
Reported: 2022-01-12 15:47 PST by Tim Horton
Modified: 2022-02-02 11:58 PST (History)
11 users (show)

See Also:


Attachments
Patch (5.47 KB, patch)
2022-01-12 15:50 PST, Tim Horton
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Horton 2022-01-12 15:47:17 PST
Fix a few Objective-C object leaks due to early returns in `init`
Comment 1 Tim Horton 2022-01-12 15:50:29 PST
Created attachment 449008 [details]
Patch
Comment 2 Tim Horton 2022-01-12 15:50:31 PST
<rdar://problem/87489048>
Comment 3 Wenson Hsieh 2022-01-12 15:58:01 PST
Comment on attachment 449008 [details]
Patch

rs=me
Comment 4 Joseph Pecoraro 2022-01-12 16:23:13 PST
Comment on attachment 449008 [details]
Patch

Yay! Thanks!
Comment 5 Tim Horton 2022-01-13 12:19:32 PST
Comment on attachment 449008 [details]
Patch

Debug EWS is hosed for unrelated reasons.
Comment 6 EWS 2022-01-13 12:24:01 PST
Committed r287986 (246015@main): <https://commits.webkit.org/246015@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 449008 [details].