Fix a mem leak in SDWebImageDownloader (fix #83)

This commit is contained in:
Olivier Poitrey 2012-03-22 11:40:05 +01:00
parent a8d5b3ec72
commit dfa03af19f
1 changed files with 1 additions and 0 deletions

View File

@ -118,6 +118,7 @@ NSString *const SDWebImageDownloadStopNotification = @"SDWebImageDownloadStopNot
code:[((NSHTTPURLResponse *)response) statusCode]
userInfo:nil];
[delegate performSelector:@selector(imageDownloader:didFailWithError:) withObject:self withObject:error];
SDWIRelease(error);
}
self.connection = nil;