From: Roger Meier Date: Thu, 4 Aug 2011 22:36:07 +0000 (+0000) Subject: fix memoryleak detected by cppcheck X-Git-Tag: 0.7.0~7 X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=3075ffc5631dd173f5f258312bf9943d06e82d0f;p=common%2Fthrift.git 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 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; }