Browse files

Fix a mem leak in SDWebImageDownloader (fix #83)

  • Loading branch information...
1 parent a8d5b3e commit dfa03af19f38c74160fc9d5abbcf2d20d1de1f18 @rs rs committed Mar 22, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 SDWebImageDownloader.m
View
1 SDWebImageDownloader.m
@@ -118,6 +118,7 @@ - (void)connection:(NSURLConnection *)aConnection didReceiveResponse:(NSURLRespo
code:[((NSHTTPURLResponse *)response) statusCode]
userInfo:nil];
[delegate performSelector:@selector(imageDownloader:didFailWithError:) withObject:self withObject:error];
+ SDWIRelease(error);
}
self.connection = nil;

0 comments on commit dfa03af

Please sign in to comment.