Summary: | Web Inspector: RetainPtr misuse, CFRunLoopSource leak | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Joseph Pecoraro <joepeck> | ||||
Component: | Web Inspector | Assignee: | Joseph Pecoraro <joepeck> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | commit-queue, graouts, joepeck, timothy, webkit-bug-importer | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Attachments: |
|
Created attachment 236955 [details]
[PATCH] Proposed Fix
Comment on attachment 236955 [details] [PATCH] Proposed Fix Clearing flags on attachment: 236955 Committed r172845: <http://trac.webkit.org/changeset/172845> All reviewed patches have been landed. Closing bug. |
RetainPtr<T>::operator= does a +1. It looks like here there should be an adopt where there isn't: > Source/JavaScriptCore/inspector/remote/RemoteInspectorDebuggableConnection.mm:239:5: warning > m_runLoopSource = CFRunLoopSourceCreate(nullptr, 1, &runLoopSourceContext); > ^