mirror of
https://github.com/transmission/transmission
synced 2025-03-10 14:13:23 +00:00
fix a small potential leak reported by m1b & clang
This commit is contained in:
parent
66db7d7b3f
commit
c5f215d4ee
1 changed files with 2 additions and 0 deletions
|
@ -4236,6 +4236,8 @@ static void sleepCallback(void * controller, io_service_t y, natural_t messageTy
|
|||
|
||||
if (!torrent)
|
||||
{
|
||||
[pool release];
|
||||
|
||||
NSLog(@"No torrent found matching the given torrent struct from the RPC callback!");
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue