summaryrefslogtreecommitdiff
path: root/src/mongo/dbtests/socktests.cpp
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2014-10-23 15:57:12 -0400
committerAndrew Morrow <acm@mongodb.com>2014-10-27 11:07:37 -0400
commitc1c1116c488351e0cdbd7626dcc8ce1f5dc828af (patch)
tree7ed0e6596b9ea93715f23dd112c251a03bb40c28 /src/mongo/dbtests/socktests.cpp
parent0fde30ad2f873e7f835aa224e83a97ae6d4a171e (diff)
downloadmongo-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.cpp4
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