Plug some leaks in TestController and UIScriptContext.
authorakling@apple.com <akling@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 4 Feb 2017 21:46:21 +0000 (21:46 +0000)
committerakling@apple.com <akling@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 4 Feb 2017 21:46:21 +0000 (21:46 +0000)
commit6bac82c31e9e8a1e4721365faec9df569e2c22a0
treeefb29c464e215a6625cb4d11ab706178da6acc0b
parent06b7f95be1d23585ba944fa52c98b51d521f065d
Plug some leaks in TestController and UIScriptContext.
<https://webkit.org/b/167839>

Reviewed by Alexey Proskuryakov.

Fix a couple of the leaks seen on the leaks bot.

* TestRunnerShared/UIScriptContext/UIScriptContext.cpp:
(UIScriptContext::runUIScript):
* WebKitTestRunner/TestController.cpp:
(WTR::TestController::handleCheckOfUserMediaPermissionForOrigin):
(WTR::TestController::decidePolicyForUserMediaPermissionRequestIfPossible):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@211674 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Tools/ChangeLog
Tools/TestRunnerShared/UIScriptContext/UIScriptContext.cpp
Tools/WebKitTestRunner/TestController.cpp