Changeset 6640


Ignore:
Timestamp:
Aug 22, 2008, 10:59:20 PM (13 years ago)
Author:
livings124
Message:

#1224 memory leak when updating blocklist: autoreleased with no pool

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/BlocklistDownloader.m

    r6411 r6640  
    152152- (void) finishDownloadSuccess
    153153{
     154    NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
     155   
    154156    //change to indeterminate while processing
    155157    [fProgressBar setIndeterminate: YES];
     
    173175    [NSApp endSheet: fStatusWindow];
    174176    [fStatusWindow orderOut: self];
     177   
     178    [pool release];
    175179    [self release];
    176180}
Note: See TracChangeset for help on using the changeset viewer.