1
0
Fork 0
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:
Mitchell Livingston 2011-11-15 00:09:17 +00:00
parent c56938b433
commit bc79f36f8c
4 changed files with 4 additions and 4 deletions

View file

@ -65,7 +65,7 @@ AboutWindowController * fAboutBoxInstance = nil;
- (void) windowWillClose: (id) sender
{
[fAboutBoxInstance release];
[fAboutBoxInstance autorelease];
fAboutBoxInstance = nil;
}

View file

@ -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)
{

View file

@ -254,7 +254,7 @@
- (void) windowWillClose: (NSNotification *) notification
{
[self release];
[self autorelease];
}
- (void) cancelCreateProgress: (id) sender

View file

@ -126,7 +126,7 @@ tr_session * fLib;
{
[fTimer invalidate];
[fStatsWindowInstance release];
[fStatsWindowInstance autorelease];
fStatsWindowInstance = nil;
}