no more double release

This commit is contained in:
Mitchell Livingston 2006-07-10 01:09:22 +00:00
parent fedca946d8
commit 21bd52f44e
2 changed files with 4 additions and 6 deletions

View File

@ -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

View File

@ -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
{