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 923a69846163101b143e980d7c12bc862ac0438f..58171f6b310e96ba995474aa85851996c09f28ba 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 bfbda52ff1b7656c9e91c557845de08019f3b757..2600e3057ca3f264b6479ad45bb61fb672fd68d7 100644 (file)
@@ -176,6 +176,7 @@ NSString *WebSubframeArchivesKey =          @"WebSubframeArchives";
     if ([subarchivePropertyLists count] > 0) {
         [propertyList setObject:subarchivePropertyLists forKey:WebSubframeArchivesKey];
     }
+    [subarchivePropertyLists release];
     return propertyList;
 }