Changeset 765 for trunk/macosx


Ignore:
Timestamp:
Aug 13, 2006, 7:55:59 PM (16 years ago)
Author:
livings124
Message:

Fix a memory leak.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Torrent.m

    r764 r765  
    527527   
    528528        [peers addObject: [NSDictionary dictionaryWithObjectsAndKeys:
    529             [NSString stringWithCString: (char *) peer.client encoding: NSUTF8StringEncoding],
    530                 @"Client",
     529            [NSString stringWithCString: (char *) peer.client encoding: NSUTF8StringEncoding], @"Client",
    531530            [NSNumber numberWithBool: peer.isDownloading], @"UL To",
    532531            [NSNumber numberWithBool: peer.isUploading], @"DL From", nil]];
    533         /*[peers addObject: [NSDictionary dictionaryWithObjectsAndKeys:
    534             @"Client", @"Client",
    535             [NSNumber numberWithBool: YES], @"UL To",
    536             [NSNumber numberWithBool: YES], @"DL From", nil]];*/
    537532    }
    538533    //NSLog(@"%d", tr_peerId(peer));
Note: See TracChangeset for help on using the changeset viewer.