2010-07-04 Maciej Stachowiak <mjs@apple.com>
authormjs@apple.com <mjs@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 4 Jul 2010 09:41:06 +0000 (09:41 +0000)
committermjs@apple.com <mjs@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 4 Jul 2010 09:41:06 +0000 (09:41 +0000)
commit7709e5d29ff9d837a5461c458e2204360895074e
treec5f5d7bdfa559c140a7236a40e02e4492b07960e
parentc197c1d7449db6be8fd0f9ab0fbcc05365b6dbee
2010-07-04  Maciej Stachowiak  <mjs@apple.com>

        Reviewed by Mark Rowe.

        WebProcess crashes in release for simple layout tests
        https://bugs.webkit.org/show_bug.cgi?id=41575

        * WebProcess/InjectedBundle/API/c/WKBundlePage.cpp:
        (WKBundlePageCopyRenderTreeExternalRepresentation): ref external representation StringImpl*
        before taking it out of its parent String, to avoid returning freed memory.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62461 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebKit2/ChangeLog
WebKit2/WebProcess/InjectedBundle/API/c/WKBundlePage.cpp