You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by ro...@apache.org on 2011/08/05 00:36:08 UTC

svn commit: r1154039 - /thrift/trunk/lib/cpp/src/concurrency/test/ThreadFactoryTests.h

Author: roger
Date: Thu Aug  4 22:36:07 2011
New Revision: 1154039

URL: http://svn.apache.org/viewvc?rev=1154039&view=rev
Log:
fix memoryleak detected by cppcheck

Modified:
    thrift/trunk/lib/cpp/src/concurrency/test/ThreadFactoryTests.h

Modified: thrift/trunk/lib/cpp/src/concurrency/test/ThreadFactoryTests.h
URL: http://svn.apache.org/viewvc/thrift/trunk/lib/cpp/src/concurrency/test/ThreadFactoryTests.h?rev=1154039&r1=1154038&r2=1154039&view=diff
==============================================================================
--- thrift/trunk/lib/cpp/src/concurrency/test/ThreadFactoryTests.h (original)
+++ thrift/trunk/lib/cpp/src/concurrency/test/ThreadFactoryTests.h Thu Aug  4 22:36:07 2011
@@ -143,7 +143,7 @@ public:
           monitor->wait(1000);
         }
       }
-
+      delete activeCount;
       std::cout << "\t\t\treaped " << lix * count << " threads" << std::endl;
     }