#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

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