Fix crash in http/tests/security/local-JavaScript-from-remote.html under guard malloc.
authormrowe@apple.com <mrowe@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 12 Jan 2008 13:19:22 +0000 (13:19 +0000)
committermrowe@apple.com <mrowe@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 12 Jan 2008 13:19:22 +0000 (13:19 +0000)
commitd3e349028e2fd0b3f4250230a3b1525e2066b536
treef50f8397048e3ec44d47547b43493801d8e615ca
parentcaf2197f3ad50546d3575a542e356944168235bb
Fix crash in http/tests/security/local-JavaScript-from-remote.html under guard malloc.

Reviewed by Maciej Stachowiak.

* DumpRenderTree/mac/LayoutTestControllerMac.mm: Retain string before returning it to
match the callers expectations that it can take ownership of the string.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@29433 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebKitTools/ChangeLog
WebKitTools/DumpRenderTree/mac/LayoutTestControllerMac.mm