RESOLVED FIXED Bug 222151
Correctly retain properties in _WKAppHighlight
https://bugs.webkit.org/show_bug.cgi?id=222151
Summary Correctly retain properties in _WKAppHighlight
Megan Gardner
Reported 2021-02-18 17:58:43 PST
Correctly retain properties in _WKAppHighlight
Attachments
Patch (2.90 KB, patch)
2021-02-18 17:59 PST, Megan Gardner
no flags
Patch (2.78 KB, patch)
2021-02-18 18:07 PST, Megan Gardner
wenson_hsieh: review+
Megan Gardner
Comment 1 2021-02-18 17:59:45 PST
Wenson Hsieh
Comment 2 2021-02-18 18:05:29 PST
Comment on attachment 420891 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=420891&action=review > Source/WebKit/UIProcess/API/Cocoa/_WKAppHighlight.mm:45 > + _highlight = adoptNS(highlight); > + _text = adoptNS(text); > + _image = adoptNS(image); This will overrelease the arguments, since they're not +1 objects.
Megan Gardner
Comment 3 2021-02-18 18:07:22 PST
Megan Gardner
Comment 4 2021-02-18 18:18:22 PST
Radar WebKit Bug Importer
Comment 5 2021-02-18 18:19:12 PST
Note You need to log in before you can comment on or make changes to this bug.