[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 07:40:25 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 04015691d79d61f12705b7d198df0e95c4f6debd
Author: darin <darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Mon May 5 04:28:36 2003 +0000

            Reviewed by Maciej.
    
            - fixed a storage leak
    
            * WebView.subproj/WebFramePrivate.m: (-[WebFrame _setState:]): Release the timer before setting to nil.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@4275 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebKit/ChangeLog b/WebKit/ChangeLog
index b1cba81..e83256c 100644
--- a/WebKit/ChangeLog
+++ b/WebKit/ChangeLog
@@ -1,3 +1,11 @@
+2003-05-04  Darin Adler  <darin at apple.com>
+
+        Reviewed by Maciej.
+
+        - fixed a storage leak
+
+        * WebView.subproj/WebFramePrivate.m: (-[WebFrame _setState:]): Release the timer before setting to nil.
+
 2003-05-03  David Hyatt  <hyatt at apple.com>
 
 	Add smallCaps boolean to the string measuring and drawing
diff --git a/WebKit/WebView.subproj/WebFramePrivate.m b/WebKit/WebView.subproj/WebFramePrivate.m
index 1e78b78..fe6489f 100644
--- a/WebKit/WebView.subproj/WebFramePrivate.m
+++ b/WebKit/WebView.subproj/WebFramePrivate.m
@@ -830,7 +830,8 @@ static CFAbsoluteTime _timeOfLastCompletedLoad;
         // WebCore based on whether the page's contents are dynamic or not.
         [[sv contentView] setCopiesOnScroll:YES];
         [_private->scheduledLayoutTimer invalidate];
-        _private->scheduledLayoutTimer = 0;
+        [_private->scheduledLayoutTimer release];
+        _private->scheduledLayoutTimer = nil;
         [_private setPreviousItem:nil];
         _timeOfLastCompletedLoad = CFAbsoluteTimeGetCurrent();
     }

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list