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:
parent
12969e060d
commit
f63bebdc09
1 changed files with 0 additions and 9 deletions
|
@ -66,9 +66,6 @@
|
|||
{
|
||||
[fDownload cancel];
|
||||
|
||||
[fDownload release];
|
||||
fDownload = nil;
|
||||
|
||||
[NSApp endSheet: fStatusWindow];
|
||||
[fStatusWindow orderOut: self];
|
||||
[self release];
|
||||
|
@ -92,9 +89,6 @@
|
|||
|
||||
- (void) download: (NSURLDownload *) download didFailWithError: (NSError *) error
|
||||
{
|
||||
[fDownload release];
|
||||
fDownload = nil;
|
||||
|
||||
[fProgressBar setHidden: YES];
|
||||
|
||||
[NSApp endSheet: fStatusWindow];
|
||||
|
@ -114,9 +108,6 @@
|
|||
|
||||
- (void) downloadDidFinish: (NSURLDownload *) download
|
||||
{
|
||||
[fDownload release];
|
||||
fDownload = nil;
|
||||
|
||||
//change to indeterminate while processing
|
||||
[fProgressBar setIndeterminate: YES];
|
||||
[fProgressBar startAnimation: self];
|
||||
|
|
Loading…
Reference in a new issue