Changeset 9322


Ignore:
Timestamp:
Oct 18, 2009, 3:54:18 PM (12 years ago)
Author:
livings124
Message:

avoid an unnecessary copy when generating a single-file torrent's file list

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Torrent.m

    r9316 r9322  
    16721672        FileListNode * node = [[FileListNode alloc] initWithFileName: [self name] path: @"" size: [self size] index: 0];
    16731673        fFileList = [[NSArray arrayWithObject: node] retain];
    1674         fFlatFileList = [fFileList copy];
     1674        fFlatFileList = [fFileList retain];
    16751675        [node release];
    16761676    }
Note: See TracChangeset for help on using the changeset viewer.