Title: [207391] trunk/Source/WebKit2
Revision
207391
Author
carlo...@webkit.org
Date
2016-10-16 02:31:13 -0700 (Sun, 16 Oct 2016)

Log Message

[GTK] Default WebKitWebsiteDataManager is always leaked in WebKitWebContext
https://bugs.webkit.org/show_bug.cgi?id=163443

Reviewed by Michael Catanzaro.

Adopt the reference returned by webkitWebsiteDataManagerCreate().

* UIProcess/API/gtk/WebKitWebContext.cpp:
(webkitWebContextConstructed):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (207390 => 207391)


--- trunk/Source/WebKit2/ChangeLog	2016-10-16 09:27:44 UTC (rev 207390)
+++ trunk/Source/WebKit2/ChangeLog	2016-10-16 09:31:13 UTC (rev 207391)
@@ -1,5 +1,17 @@
 2016-10-16  Carlos Garcia Campos  <cgar...@igalia.com>
 
+        [GTK] Default WebKitWebsiteDataManager is always leaked in WebKitWebContext
+        https://bugs.webkit.org/show_bug.cgi?id=163443
+
+        Reviewed by Michael Catanzaro.
+
+        Adopt the reference returned by webkitWebsiteDataManagerCreate().
+
+        * UIProcess/API/gtk/WebKitWebContext.cpp:
+        (webkitWebContextConstructed):
+
+2016-10-16  Carlos Garcia Campos  <cgar...@igalia.com>
+
         [GTK] WebKitWebPage URI not updated after URI is modified by InjectedBundlePageResourceLoadClient::willSendRequestForFrame
         https://bugs.webkit.org/show_bug.cgi?id=163389
 

Modified: trunk/Source/WebKit2/UIProcess/API/gtk/WebKitWebContext.cpp (207390 => 207391)


--- trunk/Source/WebKit2/UIProcess/API/gtk/WebKitWebContext.cpp	2016-10-16 09:27:44 UTC (rev 207390)
+++ trunk/Source/WebKit2/UIProcess/API/gtk/WebKitWebContext.cpp	2016-10-16 09:31:13 UTC (rev 207391)
@@ -278,7 +278,7 @@
     priv->processPool = WebProcessPool::create(configuration);
 
     if (!priv->websiteDataManager)
-        priv->websiteDataManager = webkitWebsiteDataManagerCreate(websiteDataStoreConfigurationForWebProcessPoolConfiguration(configuration));
+        priv->websiteDataManager = adoptGRef(webkitWebsiteDataManagerCreate(websiteDataStoreConfigurationForWebProcessPoolConfiguration(configuration)));
 
     priv->requestManager = priv->processPool->supplement<WebSoupCustomProtocolRequestManager>();
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to