mirror of
https://github.com/transmission/transmission
synced 2024-12-26 01:27:28 +00:00
#3948 avoid a crash when closing magnet link windows
This commit is contained in:
parent
6f09191a84
commit
c674378499
1 changed files with 1 additions and 1 deletions
|
@ -958,7 +958,7 @@ static void sleepCallback(void * controller, io_service_t y, natural_t messageTy
|
||||||
- (void) askOpenMagnetConfirmed: (AddMagnetWindowController *) addController add: (BOOL) add
|
- (void) askOpenMagnetConfirmed: (AddMagnetWindowController *) addController add: (BOOL) add
|
||||||
{
|
{
|
||||||
Torrent * torrent = [addController torrent];
|
Torrent * torrent = [addController torrent];
|
||||||
[addController release];
|
[addController autorelease];
|
||||||
|
|
||||||
if (add)
|
if (add)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue