From dfa03af19f38c74160fc9d5abbcf2d20d1de1f18 Mon Sep 17 00:00:00 2001 From: Olivier Poitrey Date: Thu, 22 Mar 2012 11:40:05 +0100 Subject: [PATCH] Fix a mem leak in SDWebImageDownloader (fix #83) --- SDWebImageDownloader.m | 1 + 1 file changed, 1 insertion(+) diff --git a/SDWebImageDownloader.m b/SDWebImageDownloader.m index 7ee9c4c3..f1145534 100644 --- a/SDWebImageDownloader.m +++ b/SDWebImageDownloader.m @@ -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;