1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-02-05 14:04:15 +00:00

remove redundant release statements

This commit is contained in:
Mitchell Livingston 2008-04-06 04:55:20 +00:00
parent 12969e060d
commit f63bebdc09

View file

@ -66,9 +66,6 @@
{ {
[fDownload cancel]; [fDownload cancel];
[fDownload release];
fDownload = nil;
[NSApp endSheet: fStatusWindow]; [NSApp endSheet: fStatusWindow];
[fStatusWindow orderOut: self]; [fStatusWindow orderOut: self];
[self release]; [self release];
@ -92,9 +89,6 @@
- (void) download: (NSURLDownload *) download didFailWithError: (NSError *) error - (void) download: (NSURLDownload *) download didFailWithError: (NSError *) error
{ {
[fDownload release];
fDownload = nil;
[fProgressBar setHidden: YES]; [fProgressBar setHidden: YES];
[NSApp endSheet: fStatusWindow]; [NSApp endSheet: fStatusWindow];
@ -114,9 +108,6 @@
- (void) downloadDidFinish: (NSURLDownload *) download - (void) downloadDidFinish: (NSURLDownload *) download
{ {
[fDownload release];
fDownload = nil;
//change to indeterminate while processing //change to indeterminate while processing
[fProgressBar setIndeterminate: YES]; [fProgressBar setIndeterminate: YES];
[fProgressBar startAnimation: self]; [fProgressBar startAnimation: self];