Commit 02202918 authored by sergio@webkit.org's avatar sergio@webkit.org

2011-04-06 Sergio Villar Senin <svillar@igalia.com>

        Reviewed by Martin Robinson.

        [GTK] DumpRenderTree: do not try to free NULL SoupURIs
        https://bugs.webkit.org/show_bug.cgi?id=57932

        Some Layout tests have invalid URIs that do not generate valid
        SoupURI instances. Do not try to free those NULL SoupURIs.

        * DumpRenderTree/gtk/DumpRenderTree.cpp:
        (willSendRequestCallback):

git-svn-id: svn://svn.chromium.org/blink/trunk@83068 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 09b7d751
2011-04-06 Sergio Villar Senin <svillar@igalia.com>
Reviewed by Martin Robinson.
[GTK] DumpRenderTree: do not try to free NULL SoupURIs
https://bugs.webkit.org/show_bug.cgi?id=57932
Some Layout tests have invalid URIs that do not generate valid
SoupURI instances. Do not try to free those NULL SoupURIs.
* DumpRenderTree/gtk/DumpRenderTree.cpp:
(willSendRequestCallback):
2011-04-06 Csaba Osztrogonác <ossy@webkit.org>
Reviewed by Andreas Kling.
......
......@@ -1061,8 +1061,8 @@ static void willSendRequestCallback(WebKitWebView* webView, WebKitWebFrame*, Web
soup_uri_free(uri);
return;
}
soup_uri_free(uri);
if (uri)
soup_uri_free(uri);
if (soupMessage) {
const set<string>& clearHeaders = gLayoutTestController->willSendRequestClearHeaders();
......
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