fix a small potential leak reported by m1b & clang
This commit is contained in:
parent
66db7d7b3f
commit
c5f215d4ee
|
@ -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…
Reference in New Issue