[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:48:55 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 9a50ec4c3c8837c2c4d48c0b6dab42c84209a728
Author: darin <darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Mon Jul 28 20:16:18 2003 +0000

            Reviewed by Richard.
    
            - fixed leak of WebDataRequestParameters objects
    
            * WebView.subproj/WebDataProtocol.m:
            (-[NSMutableURLRequest _webDataRequestParametersForWriting]):
            Release the WebDataRequestParameters object after putting it in the dictionary.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@4717 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebKit/ChangeLog b/WebKit/ChangeLog
index 5c3dac7..a6ee45f 100644
--- a/WebKit/ChangeLog
+++ b/WebKit/ChangeLog
@@ -1,3 +1,13 @@
+2003-07-28  Darin Adler  <darin at apple.com>
+
+        Reviewed by Richard.
+
+        - fixed leak of WebDataRequestParameters objects
+
+        * WebView.subproj/WebDataProtocol.m:
+        (-[NSMutableURLRequest _webDataRequestParametersForWriting]):
+        Release the WebDataRequestParameters object after putting it in the dictionary.
+
 2003-07-28  John Sullivan  <sullivan at apple.com>
 
 	- fixed 3236815 -- bitmap TIFFs at > 72 dpi are scaled incorrectly 
diff --git a/WebKit/WebView.subproj/WebDataProtocol.m b/WebKit/WebView.subproj/WebDataProtocol.m
index cfd394f..72b8a74 100644
--- a/WebKit/WebView.subproj/WebDataProtocol.m
+++ b/WebKit/WebView.subproj/WebDataProtocol.m
@@ -120,6 +120,7 @@ static NSString *WebDataRequestPropertyKey = @"WebDataRequest";
     if (!result) {
         result = [[WebDataRequestParameters alloc] init];
         [NSURLProtocol setProperty:result forKey:WebDataRequestPropertyKey inRequest:self];
+        [result release];
     }
     return result;
 }

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list