Ignore:
Timestamp:
Mar 13, 2012, 2:52:11 AM (10 years ago)
Author:
livings124
Message:

reverse r13248-r13250, since ARC doesn't support 32-bit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/AddWindowController.m

    r13248 r13251  
    6161    {
    6262        fTorrent = torrent;
    63         fDestination = [path stringByExpandingTildeInPath];
     63        fDestination = [[path stringByExpandingTildeInPath] retain];
    6464        fLockDestination = lockDestination;
    6565       
    6666        fController = controller;
    6767       
    68         fTorrentFile = [torrentFile stringByExpandingTildeInPath];
     68        fTorrentFile = [[torrentFile stringByExpandingTildeInPath] retain];
    6969       
    7070        fDeleteTorrentInitial = deleteTorrent;
     
    140140   
    141141    [fTimer invalidate];
     142   
     143    [fDestination release];
     144    [fTorrentFile release];
     145   
     146    [super dealloc];
    142147}
    143148
     
    312317    if (!fDestination || ![fDestination isEqualToString: destination])
    313318    {
    314         fDestination = destination;
     319        [fDestination release];
     320        fDestination = [destination retain];
    315321       
    316322        [fTorrent changeDownloadFolderBeforeUsing: fDestination];
     
    322328    ExpandedPathToIconTransformer * iconTransformer = [[ExpandedPathToIconTransformer alloc] init];
    323329    [fLocationImageView setImage: [iconTransformer transformedValue: fDestination]];
     330    [iconTransformer release];
    324331}
    325332
     
    350357        [[NSUserDefaults standardUserDefaults] setBool: NO forKey: @"WarningFolderDataSameName"];
    351358   
     359    [alert release];
    352360   
    353361    if (returnCode == NSAlertSecondButtonReturn)
Note: See TracChangeset for help on using the changeset viewer.