[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677

darin darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 06:24:26 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 345fb47a31c998084e544e450bb882e677654c11
Author: darin <darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Mon Jul 15 06:51:23 2002 +0000

    WebCore:
    
            * kwq/WebCoreFrame.mm: (-[WebCoreFrame dealloc]): Fix NULL-dereferencing
    	problem that was hidden by the "leak the world" bug in WebBrowser.
    
    WebBrowser:
    
    	Fix "leak the world" bug.
    
            * BrowserDocument.m: (-[BrowserDocument close]): Having the web controller
    	as its own window context creates a reference cycle. As with the other similar
    	cases here, break the cycle by explicitly setting it to nil.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1557 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog-2002-12-03 b/WebCore/ChangeLog-2002-12-03
index 4f52bcc..4af2ad7 100644
--- a/WebCore/ChangeLog-2002-12-03
+++ b/WebCore/ChangeLog-2002-12-03
@@ -1,3 +1,8 @@
+2002-07-14  Darin Adler  <darin at apple.com>
+
+        * kwq/WebCoreFrame.mm: (-[WebCoreFrame dealloc]): Fix NULL-dereferencing
+	problem that was hidden by the "leak the world" bug in WebBrowser.
+
 2002-07-14  Maciej Stachowiak  <mjs at apple.com>
 
         Assign getView() results to variable of appropriate type to work
diff --git a/WebCore/ChangeLog-2003-10-25 b/WebCore/ChangeLog-2003-10-25
index 4f52bcc..4af2ad7 100644
--- a/WebCore/ChangeLog-2003-10-25
+++ b/WebCore/ChangeLog-2003-10-25
@@ -1,3 +1,8 @@
+2002-07-14  Darin Adler  <darin at apple.com>
+
+        * kwq/WebCoreFrame.mm: (-[WebCoreFrame dealloc]): Fix NULL-dereferencing
+	problem that was hidden by the "leak the world" bug in WebBrowser.
+
 2002-07-14  Maciej Stachowiak  <mjs at apple.com>
 
         Assign getView() results to variable of appropriate type to work
diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23
index 4f52bcc..4af2ad7 100644
--- a/WebCore/ChangeLog-2005-08-23
+++ b/WebCore/ChangeLog-2005-08-23
@@ -1,3 +1,8 @@
+2002-07-14  Darin Adler  <darin at apple.com>
+
+        * kwq/WebCoreFrame.mm: (-[WebCoreFrame dealloc]): Fix NULL-dereferencing
+	problem that was hidden by the "leak the world" bug in WebBrowser.
+
 2002-07-14  Maciej Stachowiak  <mjs at apple.com>
 
         Assign getView() results to variable of appropriate type to work
diff --git a/WebCore/kwq/WebCoreFrame.mm b/WebCore/kwq/WebCoreFrame.mm
index 04fdf45..b51a74a 100644
--- a/WebCore/kwq/WebCoreFrame.mm
+++ b/WebCore/kwq/WebCoreFrame.mm
@@ -14,7 +14,9 @@
 
 - (void)dealloc
 {
-    renderPart->deref();
+    if (renderPart) {
+        renderPart->deref();
+    }
     [super dealloc];
 }
 
diff --git a/WebCore/kwq/WebCoreFrameBridge.mm b/WebCore/kwq/WebCoreFrameBridge.mm
index 04fdf45..b51a74a 100644
--- a/WebCore/kwq/WebCoreFrameBridge.mm
+++ b/WebCore/kwq/WebCoreFrameBridge.mm
@@ -14,7 +14,9 @@
 
 - (void)dealloc
 {
-    renderPart->deref();
+    if (renderPart) {
+        renderPart->deref();
+    }
     [super dealloc];
 }
 

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list