REGRESSION (r84160): Leak of OpaqueJSString under WTR::JSTestRunner::pathToLocalResou...
authorddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 16 May 2019 23:24:10 +0000 (23:24 +0000)
committerddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 16 May 2019 23:24:10 +0000 (23:24 +0000)
commitaa732f530ee1c43f3067e0b9e5cf87233a3932bd
treefea0074c2a3356f5daf59a2c1b7f06090d73d0f0
parent8c367b8ce3dab9feb0e84ad95c549dac3cff6233
REGRESSION (r84160): Leak of OpaqueJSString under WTR::JSTestRunner::pathToLocalResource (32 bytes) in com.apple.WebKit.WebContent running layout tests
<https://webkit.org/b/197965>

Reviewed by Joseph Pecoraro.

* WebKitTestRunner/InjectedBundle/mac/TestRunnerMac.mm:
(WTR::TestRunner::pathToLocalResource): Don't call
JSStringRetain() here because the JSRetainPtr<JSStringRef>
return type will increment the retain count for us.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@245419 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Tools/ChangeLog
Tools/WebKitTestRunner/InjectedBundle/mac/TestRunnerMac.mm