Showing
1 changed file
with
1 additions
and
1 deletions
@@ -369,7 +369,7 @@ static NSMutableArray *requestsUsingXMLParser = nil; | @@ -369,7 +369,7 @@ static NSMutableArray *requestsUsingXMLParser = nil; | ||
369 | 369 | ||
370 | // Strip the content encoding if the original response was gzipped | 370 | // Strip the content encoding if the original response was gzipped |
371 | if ([self isResponseCompressed]) { | 371 | if ([self isResponseCompressed]) { |
372 | - NSMutableDictionary *headers = [[self responseHeaders] mutableCopy]; | 372 | + NSMutableDictionary *headers = [[[self responseHeaders] mutableCopy] autorelease]; |
373 | [headers removeObjectForKey:@"Content-Encoding"]; | 373 | [headers removeObjectForKey:@"Content-Encoding"]; |
374 | [self setResponseHeaders:headers]; | 374 | [self setResponseHeaders:headers]; |
375 | } | 375 | } |
-
Please register or login to post a comment