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