[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc
mrobinson at webkit.org
mrobinson at webkit.org
Wed Dec 22 13:27:31 UTC 2010
The following commit has been merged in the debian/experimental branch:
commit e88666b38447f03b85030fea162c1dbe4c04afa0
Author: mrobinson at webkit.org <mrobinson at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Thu Sep 16 02:18:37 2010 +0000
2010-09-15 Martin Robinson <mrobinson at igalia.com>
Reviewed by David Levin.
[GTK] [REGRESSION] r67591 broke the testwebbackforwardlist API test and introduced a memory leak
https://bugs.webkit.org/show_bug.cgi?id=45865
When initializing the backForwardList private member of the WebView, do
so with adoptPlatformRef to prevent a memory leak.
* webkit/webkitwebview.cpp:
(webkit_web_view_init): Initialize member with adoptPlatformRef.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67596 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebKit/gtk/ChangeLog b/WebKit/gtk/ChangeLog
index 9cbbff2..560a06d 100644
--- a/WebKit/gtk/ChangeLog
+++ b/WebKit/gtk/ChangeLog
@@ -1,5 +1,18 @@
2010-09-15 Martin Robinson <mrobinson at igalia.com>
+ Reviewed by David Levin.
+
+ [GTK] [REGRESSION] r67591 broke the testwebbackforwardlist API test and introduced a memory leak
+ https://bugs.webkit.org/show_bug.cgi?id=45865
+
+ When initializing the backForwardList private member of the WebView, do
+ so with adoptPlatformRef to prevent a memory leak.
+
+ * webkit/webkitwebview.cpp:
+ (webkit_web_view_init): Initialize member with adoptPlatformRef.
+
+2010-09-15 Martin Robinson <mrobinson at igalia.com>
+
Reviewed by Eric Seidel.
[Gtk] Use GOwnPtr for code that needs it
diff --git a/WebKit/gtk/webkit/webkitwebview.cpp b/WebKit/gtk/webkit/webkitwebview.cpp
index 1446675..815a6f9 100644
--- a/WebKit/gtk/webkit/webkitwebview.cpp
+++ b/WebKit/gtk/webkit/webkitwebview.cpp
@@ -3072,7 +3072,7 @@ static void webkit_web_view_init(WebKitWebView* webView)
priv->lastPopupXPosition = priv->lastPopupYPosition = -1;
priv->editable = false;
- priv->backForwardList = webkit_web_back_forward_list_new_with_web_view(webView);
+ priv->backForwardList = adoptPlatformRef(webkit_web_back_forward_list_new_with_web_view(webView));
priv->zoomFullContent = FALSE;
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list