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/socktests.cpp | |
parent | 0fde30ad2f873e7f835aa224e83a97ae6d4a171e (diff) | |
download | mongo-c1c1116c488351e0cdbd7626dcc8ce1f5dc828af.tar.gz |
SERVER-15707 Fix leaks in C++ unit test framework
Diffstat (limited to 'src/mongo/dbtests/socktests.cpp')
-rw-r--r-- | src/mongo/dbtests/socktests.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/dbtests/socktests.cpp b/src/mongo/dbtests/socktests.cpp index f27020bc069..65aa215794a 100644 --- a/src/mongo/dbtests/socktests.cpp +++ b/src/mongo/dbtests/socktests.cpp @@ -56,7 +56,9 @@ namespace SockTests { void setupTests() { add< HostByName >(); } - } myall; + }; + + SuiteInstance<All> myall; } // namespace SockTests |