get rid of an alloc/release

This commit is contained in:
Mitchell Livingston 2007-10-11 16:28:50 +00:00
parent aa758b4652
commit c4e6607777
1 changed files with 1 additions and 2 deletions

View File

@ -1800,7 +1800,7 @@ void sleepCallBack(void * controller, io_service_t y, natural_t messageType, voi
NSArray * selectedTorrents = [fTableView numberOfSelectedRows] > 0
? [fDisplayedTorrents objectsAtIndexes: [fTableView selectedRowIndexes]] : nil;
NSMutableArray * tempTorrents = [[NSMutableArray alloc] initWithCapacity: [fTorrents count]];
NSMutableArray * tempTorrents = [NSMutableArray arrayWithCapacity: [fTorrents count]];
NSString * filterType = [fDefaults stringForKey: @"Filter"];
@ -1872,7 +1872,6 @@ void sleepCallBack(void * controller, io_service_t y, natural_t messageType, voi
}
[fDisplayedTorrents setArray: tempTorrents];
[tempTorrents release];
[self sortTorrentsIgnoreSelected];