mirror of
https://github.com/transmission/transmission
synced 2025-02-13 09:54:44 +00:00
fix a trivial memory leak
This commit is contained in:
parent
cb015c27d8
commit
7ab2d316b2
1 changed files with 3 additions and 0 deletions
|
@ -1424,8 +1424,11 @@ static void sleepCallback(void * controller, io_service_t y, natural_t messageTy
|
||||||
[fDefaults setBool: NO forKey: @"WarningRemoveCompleted"];
|
[fDefaults setBool: NO forKey: @"WarningRemoveCompleted"];
|
||||||
|
|
||||||
if (returnCode != NSAlertFirstButtonReturn)
|
if (returnCode != NSAlertFirstButtonReturn)
|
||||||
|
{
|
||||||
|
[torrents release];
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
[self confirmRemoveTorrents: torrents deleteData: NO];
|
[self confirmRemoveTorrents: torrents deleteData: NO];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue