fix a small potential leak reported by m1b & clang

This commit is contained in:
Mitchell Livingston 2008-11-05 01:57:37 +00:00
parent 66db7d7b3f
commit c5f215d4ee
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}