Skip to content

Commit

Permalink
ASIWebPageRequest - fix leak (closes pokebgh-174)
Browse files Browse the repository at this point in the history
  • Loading branch information
pokeb committed May 7, 2011
1 parent 7219e0a commit ec59d27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/ASIWebPageRequest/ASIWebPageRequest.m
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ - (void)finishedFetchingExternalResources:(ASINetworkQueue *)queue

// Strip the content encoding if the original response was gzipped
if ([self isResponseCompressed]) {
NSMutableDictionary *headers = [[self responseHeaders] mutableCopy];
NSMutableDictionary *headers = [[[self responseHeaders] mutableCopy] autorelease];
[headers removeObjectForKey:@"Content-Encoding"];
[self setResponseHeaders:headers];
}
Expand Down

0 comments on commit ec59d27

Please sign in to comment.