From c5f215d4eed53af2bb7a086aae0a6c93bed53fcd Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Wed, 5 Nov 2008 01:57:37 +0000 Subject: [PATCH] fix a small potential leak reported by m1b & clang --- macosx/Controller.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/macosx/Controller.m b/macosx/Controller.m index 543be8ac5..126d7dc51 100644 --- a/macosx/Controller.m +++ b/macosx/Controller.m @@ -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; }