1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-02-03 13:03:50 +00:00

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

This commit is contained in:
Mitchell Livingston 2008-08-22 22:59:20 +00:00
parent 64dad38800
commit 404dd4dee1

View file

@ -151,6 +151,8 @@
- (void) finishDownloadSuccess
{
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
//change to indeterminate while processing
[fProgressBar setIndeterminate: YES];
[fProgressBar startAnimation: self];
@ -172,6 +174,8 @@
[NSApp endSheet: fStatusWindow];
[fStatusWindow orderOut: self];
[pool release];
[self release];
}