mirror of
https://github.com/transmission/transmission
synced 2024-12-26 09:37:56 +00:00
#3948 Fix crash with command-option-w
This commit is contained in:
parent
c56938b433
commit
bc79f36f8c
4 changed files with 4 additions and 4 deletions
|
@ -65,7 +65,7 @@ AboutWindowController * fAboutBoxInstance = nil;
|
|||
|
||||
- (void) windowWillClose: (id) sender
|
||||
{
|
||||
[fAboutBoxInstance release];
|
||||
[fAboutBoxInstance autorelease];
|
||||
fAboutBoxInstance = nil;
|
||||
}
|
||||
|
||||
|
|
|
@ -887,7 +887,7 @@ static void sleepCallback(void * controller, io_service_t y, natural_t messageTy
|
|||
- (void) askOpenConfirmed: (AddWindowController *) addController add: (BOOL) add
|
||||
{
|
||||
Torrent * torrent = [addController torrent];
|
||||
[addController release];
|
||||
[addController autorelease];
|
||||
|
||||
if (add)
|
||||
{
|
||||
|
|
|
@ -254,7 +254,7 @@
|
|||
|
||||
- (void) windowWillClose: (NSNotification *) notification
|
||||
{
|
||||
[self release];
|
||||
[self autorelease];
|
||||
}
|
||||
|
||||
- (void) cancelCreateProgress: (id) sender
|
||||
|
|
|
@ -126,7 +126,7 @@ tr_session * fLib;
|
|||
{
|
||||
[fTimer invalidate];
|
||||
|
||||
[fStatsWindowInstance release];
|
||||
[fStatsWindowInstance autorelease];
|
||||
fStatsWindowInstance = nil;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue