2006-10-20 Anders Carlsson <acarlsson@apple.com>
authorandersca <andersca@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 20 Oct 2006 22:21:04 +0000 (22:21 +0000)
committerandersca <andersca@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 20 Oct 2006 22:21:04 +0000 (22:21 +0000)
        Reviewed by Tim H

        * loader/mac/LoaderFunctionsMac.mm:
        Autorelease the header NSDictionary.

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

WebCore/ChangeLog
WebCore/loader/mac/LoaderFunctionsMac.mm

index e4145072c520b6a074d11a478f1023a7d16603a0..be014ae17fa5284acdf2a0ce5bfa23a196c3e223 100644 (file)
@@ -1,3 +1,10 @@
+2006-10-20  Anders Carlsson  <acarlsson@apple.com>
+
+        Reviewed by Tim H
+
+        * loader/mac/LoaderFunctionsMac.mm:
+        Autorelease the header NSDictionary.
+        
 2006-10-20  Anders Carlsson  <acarlsson@apple.com>
 
         Reviewed by Geoff.
index 39cbb6a746223da6d2922ee80cf93053b017fab8..f39767f2d3abe46040d32263673518590d2ea9d3 100644 (file)
@@ -55,7 +55,7 @@ using namespace WebCore;
     for (HashMap<String, String>::const_iterator it = headerMap.begin(); it != end; ++it)
         [headers setValue:it->second forKey:it->first];
     
-    return headers;
+    return [headers autorelease];
 }
 
 @end