Reviewed by Ken.
authorsullivan <sullivan@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 15 Nov 2004 16:54:14 +0000 (16:54 +0000)
committersullivan <sullivan@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 15 Nov 2004 16:54:14 +0000 (16:54 +0000)
        - fixed <rdar://problem/3879513> leak in [WebArchive _propertyListRepresentation] copying HTML to pasteboard

        * WebView.subproj/WebArchive.m:
        (-[WebArchive _propertyListRepresentation]):
        the array holding the subresources was not released after use, oops!

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8003 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKit/ChangeLog
WebKit/WebView.subproj/WebArchive.m

index 923a698..58171f6 100644 (file)
@@ -1,3 +1,13 @@
+2004-11-15  John Sullivan  <sullivan@apple.com>
+
+        Reviewed by Ken.
+        
+        - fixed <rdar://problem/3879513> leak in [WebArchive _propertyListRepresentation] copying HTML to pasteboard
+
+        * WebView.subproj/WebArchive.m:
+        (-[WebArchive _propertyListRepresentation]):
+        the array holding the subresources was not released after use, oops!
+
 2004-11-12  Chris Blumenberg  <cblu@apple.com>
 
        Fixed: <rdar://problem/3874577> Opening restricted (parental) content in new window/tab reveals Safari's "Resources" folder
index bfbda52..2600e30 100644 (file)
@@ -176,6 +176,7 @@ NSString *WebSubframeArchivesKey =          @"WebSubframeArchives";
     if ([subarchivePropertyLists count] > 0) {
         [propertyList setObject:subarchivePropertyLists forKey:WebSubframeArchivesKey];
     }
+    [subarchivePropertyLists release];
     return propertyList;
 }