fix memoryleak detected by cppcheck
authorRoger Meier <roger@apache.org>
Thu, 4 Aug 2011 22:36:07 +0000 (22:36 +0000)
committerRoger Meier <roger@apache.org>
Thu, 4 Aug 2011 22:36:07 +0000 (22:36 +0000)
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1154039 13f79535-47bb-0310-9956-ffa450edef68

lib/cpp/src/concurrency/test/ThreadFactoryTests.h

index c1dc89d..2d7976e 100644 (file)
@@ -143,7 +143,7 @@ public:
           monitor->wait(1000);
         }
       }
-
+      delete activeCount;
       std::cout << "\t\t\treaped " << lix * count << " threads" << std::endl;
     }