[Webkit-unassigned] [Bug 173689] New: REGRESSION (r218419): 3 NSMutableDiciontary leaks calling -[WKProcessPool _pluginLoadClientPolicies]
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jun 21 19:49:25 PDT 2017
https://bugs.webkit.org/show_bug.cgi?id=173689
Bug ID: 173689
Summary: REGRESSION (r218419): 3 NSMutableDiciontary leaks
calling -[WKProcessPool _pluginLoadClientPolicies]
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebKit2
Assignee: webkit-unassigned at lists.webkit.org
Reporter: ddkilzer at webkit.org
CC: beidson at apple.com, cdumez at apple.com,
joepeck at webkit.org
Depends on: 173472
Caught by the clang static analyzer.
* UIProcess/API/Cocoa/WKProcessPool.mm:
(policiesHashMapToDictionary): Switch from using
[[NSMutableDictionary alloc] init] which returns a +1 retained
object in MRR to [NSMutableDictionary new] which returns an
autoreleased object under MRR. This bug caused 3 leaks when
calling -[WKProcessPool _pluginLoadClientPolicies], which should
return an autoreleased object based on its signature.
Referenced Bugs:
https://bugs.webkit.org/show_bug.cgi?id=173472
[Bug 173472] [WK2] Add WKProcessPool SPI to efficiently reset all plugin load client policies
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170622/4b69adce/attachment.html>
More information about the webkit-unassigned
mailing list