From b4c5e1450efce327829c6f6f8b4f84c7944c6e59 Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Sun, 6 Apr 2008 03:47:03 +0000 Subject: [PATCH] actually cancel the blocklist download when hitting the cancel button - should fix a crasher --- macosx/BlocklistDownloader.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/macosx/BlocklistDownloader.m b/macosx/BlocklistDownloader.m index bfbc67fa9..90e432ef6 100644 --- a/macosx/BlocklistDownloader.m +++ b/macosx/BlocklistDownloader.m @@ -55,6 +55,8 @@ - (void) cancelDownload: (id) sender { + [fDownload cancel]; + [fDownload release]; fDownload = nil;