| Summary: | REGRESSION (r282230): WebKit::registerScheduledActivityHandler() leaks an xpc_object_t | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | David Kilzer (:ddkilzer) <ddkilzer> | ||||||
| Component: | WebXR | Assignee: | David Kilzer (:ddkilzer) <ddkilzer> | ||||||
| Status: | RESOLVED DUPLICATE | ||||||||
| Severity: | Normal | CC: | achristensen, cdumez, ews-watchlist, jiewen_tan, webkit-bug-importer, wilander | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | WebKit Nightly Build | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=231819 | ||||||||
| Bug Depends on: | 230052 | ||||||||
| Bug Blocks: | |||||||||
| Attachments: |
|
||||||||
Fixed link: <https://trac.webkit.org/r282230> 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. |
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>