From c6743784997c06852612336235733719bf90af60 Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Sat, 19 Nov 2011 16:14:16 +0000 Subject: [PATCH] #3948 avoid a crash when closing magnet link windows --- macosx/Controller.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macosx/Controller.m b/macosx/Controller.m index d80f41a76..8a43f9ca4 100644 --- a/macosx/Controller.m +++ b/macosx/Controller.m @@ -958,7 +958,7 @@ static void sleepCallback(void * controller, io_service_t y, natural_t messageTy - (void) askOpenMagnetConfirmed: (AddMagnetWindowController *) addController add: (BOOL) add { Torrent * torrent = [addController torrent]; - [addController release]; + [addController autorelease]; if (add) {