Commit 88ac2b43 authored by xan@webkit.org's avatar xan@webkit.org

2009-04-26 Xan Lopez <xlopez@igalia.com>

        Reviewed by Mark Rowe.

        Plug memory leak.

        * WebCoreSupport/FrameLoaderClientGtk.cpp:
        (WebKit::FrameLoaderClient::dispatchDidFailLoad):

git-svn-id: svn://svn.chromium.org/blink/trunk@42885 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 47823ce7
2009-04-26 Xan Lopez <xlopez@igalia.com>
Reviewed by Mark Rowe.
Plug memory leak.
* WebCoreSupport/FrameLoaderClientGtk.cpp:
(WebKit::FrameLoaderClient::dispatchDidFailLoad):
2009-04-26 Xan Lopez <xlopez@igalia.com>
Reviewed by Gustavo Noronha.
......
......@@ -853,6 +853,7 @@ void FrameLoaderClient::dispatchDidFailLoad(const ResourceError& error)
gchar* fileContent = 0;
gchar* errorURI = g_filename_to_uri(DATA_DIR"/webkit-1.0/resources/error.html", NULL, NULL);
GFile* errorFile = g_file_new_for_uri(errorURI);
g_free(errorURI);
if (!errorFile)
content = String::format("<html><body>%s</body></html>", webError->message);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment