[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:22:14 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 7bafe12ad7fb5e77c4c5a96d0980134e9c39f16d
Author: darin <darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Tue Jan 28 16:23:10 2003 +0000

            Reviewed by Ken.
    
    	- fixed 3156197 -- leak in -[WebBookmarkList initFromDictionaryRepresentation:withGroup:]
    
            * Bookmarks.subproj/WebBookmarkList.m:
            (-[WebBookmarkList initFromDictionaryRepresentation:withGroup:]):
    	Fixed storage leak by not allocating the list here, because [self init] will
            be called and that will allocate the list.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@3473 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebKit/Bookmarks.subproj/WebBookmarkList.m b/WebKit/Bookmarks.subproj/WebBookmarkList.m
index bd5cea0..fc08bd1 100644
--- a/WebKit/Bookmarks.subproj/WebBookmarkList.m
+++ b/WebKit/Bookmarks.subproj/WebBookmarkList.m
@@ -54,7 +54,6 @@
         return nil;
     }
 
-    _list = [[NSMutableArray alloc] init];
     _title = [[dict objectForKey:TitleKey] copy];
 
     NSArray *storedChildren = [dict objectForKey:ChildrenKey];
diff --git a/WebKit/ChangeLog b/WebKit/ChangeLog
index 612d463..af14644 100644
--- a/WebKit/ChangeLog
+++ b/WebKit/ChangeLog
@@ -1,3 +1,14 @@
+2003-01-28  Darin Adler  <darin at apple.com>
+
+        Reviewed by Ken.
+
+	- fixed 3156197 -- leak in -[WebBookmarkList initFromDictionaryRepresentation:withGroup:]
+
+        * Bookmarks.subproj/WebBookmarkList.m:
+        (-[WebBookmarkList initFromDictionaryRepresentation:withGroup:]):
+	Fixed storage leak by not allocating the list here, because [self init] will
+        be called and that will allocate the list.
+
 2003-01-26  Maciej Stachowiak  <mjs at apple.com>
 
         Reviewed by Darin and Ken.

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list