fix memoryleak detected by cppcheck

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1154039 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/cpp/src/concurrency/test/ThreadFactoryTests.h b/lib/cpp/src/concurrency/test/ThreadFactoryTests.h
index c1dc89d..2d7976e 100644
--- a/lib/cpp/src/concurrency/test/ThreadFactoryTests.h
+++ b/lib/cpp/src/concurrency/test/ThreadFactoryTests.h
@@ -143,7 +143,7 @@
           monitor->wait(1000);
         }
       }
-
+      delete activeCount;
       std::cout << "\t\t\treaped " << lix * count << " threads" << std::endl;
     }