Title: [101955] trunk/Tools
Revision
101955
Author
[email protected]
Date
2011-12-04 05:10:50 -0800 (Sun, 04 Dec 2011)

Log Message

Another GTK build fix after r101922.

Rubber-stamped by Martin Robinson.

* DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
(LayoutTestController::pathToLocalResource): Plug possible String ref leak.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (101954 => 101955)


--- trunk/Tools/ChangeLog	2011-12-04 12:42:55 UTC (rev 101954)
+++ trunk/Tools/ChangeLog	2011-12-04 13:10:50 UTC (rev 101955)
@@ -1,3 +1,12 @@
+2011-12-04  Philippe Normand  <[email protected]>
+
+        Another GTK build fix after r101922.
+
+        Rubber-stamped by Martin Robinson.
+
+        * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
+        (LayoutTestController::pathToLocalResource): Plug possible String ref leak.
+
 2011-12-04  Xan Lopez  <[email protected]>
 
         Fix compiler warning in LayoutTestController

Modified: trunk/Tools/DumpRenderTree/gtk/LayoutTestControllerGtk.cpp (101954 => 101955)


--- trunk/Tools/DumpRenderTree/gtk/LayoutTestControllerGtk.cpp	2011-12-04 12:42:55 UTC (rev 101954)
+++ trunk/Tools/DumpRenderTree/gtk/LayoutTestControllerGtk.cpp	2011-12-04 13:10:50 UTC (rev 101955)
@@ -203,7 +203,7 @@
 {
     GOwnPtr<char> urlCString(JSStringCopyUTF8CString(url));
     if (!g_str_has_prefix(urlCString.get(), "file:///tmp/LayoutTests/"))
-        return url;
+        return JSStringRetain(url);
 
     const char* layoutTestsSuffix = urlCString.get() + strlen("file:///tmp/");
     GOwnPtr<char> testPath(g_build_filename(getTopLevelPath().data(), layoutTestsSuffix, NULL));
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to