From 21bd52f44efff07bc07a5cd19839e15c2bf50cbf Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Mon, 10 Jul 2006 01:09:22 +0000 Subject: [PATCH] no more double release --- macosx/Controller.m | 2 -- macosx/PrefsController.m | 8 ++++---- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/macosx/Controller.m b/macosx/Controller.m index 056a7ba57..7a28013b4 100644 --- a/macosx/Controller.m +++ b/macosx/Controller.m @@ -359,8 +359,6 @@ static void sleepCallBack(void * controller, io_service_t y, usleep(100000); [torrent update]; } - - [fTorrents release]; } - (void) folderChoiceClosed: (NSOpenPanel *) openPanel returnCode: (int) code diff --git a/macosx/PrefsController.m b/macosx/PrefsController.m index 80a024b77..4cd5872a0 100644 --- a/macosx/PrefsController.m +++ b/macosx/PrefsController.m @@ -222,28 +222,28 @@ [item setLabel: TOOLBAR_GENERAL]; [item setImage: [NSImage imageNamed: @"Preferences.png"]]; [item setTarget: self]; - [item setAction: @selector( showGeneralPref: )]; + [item setAction: @selector(showGeneralPref:)]; } else if ([ident isEqualToString: TOOLBAR_TRANSFERS]) { [item setLabel: TOOLBAR_TRANSFERS]; [item setImage: [NSImage imageNamed: @"Transfers.png"]]; [item setTarget: self]; - [item setAction: @selector( showTransfersPref: )]; + [item setAction: @selector(showTransfersPref:)]; } else if ([ident isEqualToString: TOOLBAR_BANDWIDTH]) { [item setLabel: TOOLBAR_BANDWIDTH]; [item setImage: [NSImage imageNamed: @"Bandwidth.png"]]; [item setTarget: self]; - [item setAction: @selector( showBandwidthPref: )]; + [item setAction: @selector(showBandwidthPref:)]; } else if ([ident isEqualToString: TOOLBAR_NETWORK]) { [item setLabel: TOOLBAR_NETWORK]; [item setImage: [NSImage imageNamed: @"Network.png"]]; [item setTarget: self]; - [item setAction: @selector( showNetworkPref: )]; + [item setAction: @selector(showNetworkPref:)]; } else {