[Cocoa] JSWrapperMap leaks for all JSContexts
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 8 Jun 2017 22:24:11 +0000 (22:24 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 8 Jun 2017 22:24:11 +0000 (22:24 +0000)
commit5d87b04da16e01e2cd1b053d5eb4f093c1dff77a
tree5448f90213b53fd9bbfcae6b001cf78672bc3a2c
parentd3ea5ba6ff85b7e2478946db555d8cd3bae909e2
[Cocoa] JSWrapperMap leaks for all JSContexts
https://bugs.webkit.org/show_bug.cgi?id=173110
<rdar://problem/32602198>

Patch by Joseph Pecoraro <pecoraro@apple.com> on 2017-06-08
Reviewed by Geoffrey Garen.

* API/JSContext.mm:
(-[JSContext ensureWrapperMap]):
Ensure this allocation gets released.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217952 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/JavaScriptCore/API/JSContext.mm
Source/JavaScriptCore/ChangeLog