From 3075ffc5631dd173f5f258312bf9943d06e82d0f Mon Sep 17 00:00:00 2001 From: Roger Meier Date: Thu, 4 Aug 2011 22:36:07 +0000 Subject: [PATCH] fix memoryleak detected by cppcheck git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1154039 13f79535-47bb-0310-9956-ffa450edef68 --- lib/cpp/src/concurrency/test/ThreadFactoryTests.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cpp/src/concurrency/test/ThreadFactoryTests.h b/lib/cpp/src/concurrency/test/ThreadFactoryTests.h index c1dc89d0..2d7976e1 100644 --- a/lib/cpp/src/concurrency/test/ThreadFactoryTests.h +++ b/lib/cpp/src/concurrency/test/ThreadFactoryTests.h @@ -143,7 +143,7 @@ public: monitor->wait(1000); } } - + delete activeCount; std::cout << "\t\t\treaped " << lix * count << " threads" << std::endl; } -- 2.17.1