summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Meier <roger@apache.org>2011-08-04 22:36:07 +0000
committerRoger Meier <roger@apache.org>2011-08-04 22:36:07 +0000
commit3075ffc5631dd173f5f258312bf9943d06e82d0f (patch)
tree992a03732d14d8abfe18db44f2d71b92d4c3d9dc
parent52e751d13799c5b170ebe44aff5635bb32ee2bc4 (diff)
downloadthrift-3075ffc5631dd173f5f258312bf9943d06e82d0f.tar.gz
fix memoryleak detected by cppcheck
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1154039 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--lib/cpp/src/concurrency/test/ThreadFactoryTests.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/cpp/src/concurrency/test/ThreadFactoryTests.h b/lib/cpp/src/concurrency/test/ThreadFactoryTests.h
index c1dc89d01..2d7976e17 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;
}