Changeset 6753


Ignore:
Timestamp:
Sep 16, 2008, 4:39:19 PM (13 years ago)
Author:
charles
Message:

(mac 1.3x) backport #1224 (r6640): "memory leak when updating blocklist: autoreleased with no pool"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.3x/macosx/BlocklistDownloader.m

    r6411 r6753  
    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.