Changeset 9343


Ignore:
Timestamp:
Oct 21, 2009, 1:03:37 PM (13 years ago)
Author:
livings124
Message:

lets not leak a string

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Torrent.m

    r9342 r9343  
    185185    //allow the file to be index by Time Machine
    186186    if (fTimeMachineExclude)
     187    {
    187188        [self setTimeMachineExclude: NO forPath: fTimeMachineExclude];
     189        [fTimeMachineExclude release];
     190        fTimeMachineExclude = nil;
     191    }
    188192   
    189193    tr_torrentRemove(fHandle);
     
    17411745    {
    17421746        [self setTimeMachineExclude: NO forPath: fTimeMachineExclude];
     1747        [fTimeMachineExclude release];
    17431748        fTimeMachineExclude = nil;
    17441749    }
     
    17471752    {
    17481753        [self setTimeMachineExclude: YES forPath: newLocation];
     1754        [fTimeMachineExclude release];
    17491755        fTimeMachineExclude = [newLocation retain];
    17501756    }
Note: See TracChangeset for help on using the changeset viewer.