WebKit::registerScheduledActivityHandler() leaks an xpc_object_t. Found by the clang static analyzer. Regressed here: Add PrivateClickMeasurement daemon <https://bugs.webkit.org/show_bug.cgi?id=230052> <https://trac.webkit.org/282230>
Fixed link: <https://trac.webkit.org/r282230>
<rdar://problem/84307774>
Created attachment 441400 [details] Patch v1
Comment on attachment 441400 [details] Patch v1 Wrong patch!
Created attachment 441413 [details] Patch v2
Comment on attachment 441413 [details] Patch v2 Looks like I need to update. Maybe this was fixed already?
Fixed by Bug 231309 using adoptNS. ¯\_(ツ)_/¯ *** This bug has been marked as a duplicate of bug 231309 ***
(In reply to David Kilzer (:ddkilzer) from comment #7) > Fixed by Bug 231309 using adoptNS. ¯\_(ツ)_/¯ To be clear, adoptNS() should work fine with xpc_object_t in Cocoa source files.