Changeset 3372


Ignore:
Timestamp:
Oct 11, 2007, 4:28:50 PM (15 years ago)
Author:
livings124
Message:

get rid of an alloc/release

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r3325 r3372  
    18011801                ? [fDisplayedTorrents objectsAtIndexes: [fTableView selectedRowIndexes]] : nil;
    18021802
    1803     NSMutableArray * tempTorrents = [[NSMutableArray alloc] initWithCapacity: [fTorrents count]];
     1803    NSMutableArray * tempTorrents = [NSMutableArray arrayWithCapacity: [fTorrents count]];
    18041804   
    18051805    NSString * filterType = [fDefaults stringForKey: @"Filter"];
     
    18731873   
    18741874    [fDisplayedTorrents setArray: tempTorrents];
    1875     [tempTorrents release];
    18761875   
    18771876    [self sortTorrentsIgnoreSelected];
Note: See TracChangeset for help on using the changeset viewer.