]> granicus.if.org Git - transmission/commitdiff
fix a small potential leak reported by m1b & clang
authorMitchell Livingston <livings124@transmissionbt.com>
Wed, 5 Nov 2008 01:57:37 +0000 (01:57 +0000)
committerMitchell Livingston <livings124@transmissionbt.com>
Wed, 5 Nov 2008 01:57:37 +0000 (01:57 +0000)
macosx/Controller.m

index 543be8ac5d9acf57b84dcffa3ecf2d97036bea2e..126d7dc5109be7d78f9c763eccf6049866b0f2c0 100644 (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;
         }