diff options
author | Andrew Morrow <acm@mongodb.com> | 2014-10-23 15:57:12 -0400 |
---|---|---|
committer | Andrew Morrow <acm@mongodb.com> | 2014-10-27 11:07:37 -0400 |
commit | c1c1116c488351e0cdbd7626dcc8ce1f5dc828af (patch) | |
tree | 7ed0e6596b9ea93715f23dd112c251a03bb40c28 /src/mongo/dbtests/threadedtests.cpp | |
parent | 0fde30ad2f873e7f835aa224e83a97ae6d4a171e (diff) | |
download | mongo-c1c1116c488351e0cdbd7626dcc8ce1f5dc828af.tar.gz |
SERVER-15707 Fix leaks in C++ unit test framework
Diffstat (limited to 'src/mongo/dbtests/threadedtests.cpp')
-rw-r--r-- | src/mongo/dbtests/threadedtests.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/dbtests/threadedtests.cpp b/src/mongo/dbtests/threadedtests.cpp index 021e208a4cd..1c1f81d74e8 100644 --- a/src/mongo/dbtests/threadedtests.cpp +++ b/src/mongo/dbtests/threadedtests.cpp @@ -893,5 +893,7 @@ namespace ThreadedTests { add< MongoMutexTest >(); add< TicketHolderWaits >(); } - } myall; + }; + + SuiteInstance<All> myall; } |