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

mjs mjs at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 07:01:09 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 4e042174d873116e0e8594f2418209b11568dfc7
Author: mjs <mjs at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Fri Nov 15 16:40:31 2002 +0000

    	Fix world leak I introduced, and also add an early return when needed.
    
            * WebView.subproj/WebFramePrivate.m:
            (-[WebFrame _invalidatePendingPolicyDecisionCallingDefaultAction:]):
            (-[WebFrame _checkNavigationPolicyForRequest:dataSource:andCall:withSelector:]):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2690 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebKit/ChangeLog b/WebKit/ChangeLog
index d09975c..afb22a9 100644
--- a/WebKit/ChangeLog
+++ b/WebKit/ChangeLog
@@ -1,5 +1,13 @@
 2002-11-15  Maciej Stachowiak  <mjs at apple.com>
 
+	Fix world leak I introduced, and also add an early return when needed.
+	
+        * WebView.subproj/WebFramePrivate.m:
+        (-[WebFrame _invalidatePendingPolicyDecisionCallingDefaultAction:]):
+        (-[WebFrame _checkNavigationPolicyForRequest:dataSource:andCall:withSelector:]):
+
+2002-11-15  Maciej Stachowiak  <mjs at apple.com>
+
 	Make navigation policy asynchronous for real.
 	
         * WebKit.pbproj/project.pbxproj:
diff --git a/WebKit/ChangeLog-2002-12-03 b/WebKit/ChangeLog-2002-12-03
index d09975c..afb22a9 100644
--- a/WebKit/ChangeLog-2002-12-03
+++ b/WebKit/ChangeLog-2002-12-03
@@ -1,5 +1,13 @@
 2002-11-15  Maciej Stachowiak  <mjs at apple.com>
 
+	Fix world leak I introduced, and also add an early return when needed.
+	
+        * WebView.subproj/WebFramePrivate.m:
+        (-[WebFrame _invalidatePendingPolicyDecisionCallingDefaultAction:]):
+        (-[WebFrame _checkNavigationPolicyForRequest:dataSource:andCall:withSelector:]):
+
+2002-11-15  Maciej Stachowiak  <mjs at apple.com>
+
 	Make navigation policy asynchronous for real.
 	
         * WebKit.pbproj/project.pbxproj:
diff --git a/WebKit/WebView.subproj/WebFramePrivate.m b/WebKit/WebView.subproj/WebFramePrivate.m
index 1769ffe..952b255 100644
--- a/WebKit/WebView.subproj/WebFramePrivate.m
+++ b/WebKit/WebView.subproj/WebFramePrivate.m
@@ -938,8 +938,8 @@ static const char * const stateNames[] = {
 	[target performSelector:selector withObject:(id)NO withObject:request];
     }
 
-    [_private->policyRequest release];
-    [_private->policyTarget release];
+    [request release];
+    [target release];
 }
 
 - (void)_checkNavigationPolicyForRequest:(WebResourceRequest *)request dataSource:(WebDataSource *)dataSource andCall:(id)target withSelector:(SEL)selector
@@ -953,6 +953,7 @@ static const char * const stateNames[] = {
     // Don't ask more than once for the same request
     if ([request isEqual:[dataSource _lastCheckedRequest]]) {
 	[target performSelector:selector withObject:(id)YES withObject:request];
+	return;
     }
 
     [dataSource _setLastCheckedRequest:request];

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list