summaryrefslogtreecommitdiff
path: root/s/request.cpp
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2010-05-26 21:47:02 -0400
committerMathias Stearn <mathias@10gen.com>2010-05-27 16:09:49 -0400
commitec609581b41b10858bb8980313703a6d6cc8baa1 (patch)
tree8919b082afa81ea451a0592d98d90ba318d88ec8 /s/request.cpp
parent1737e7eb16c711d944cd6d7e9a16b206f16de5fb (diff)
downloadmongo-ec609581b41b10858bb8980313703a6d6cc8baa1.tar.gz
Plug leaks
Diffstat (limited to 's/request.cpp')
-rw-r--r--s/request.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/s/request.cpp b/s/request.cpp
index b048b743a2c..f2d0d490900 100644
--- a/s/request.cpp
+++ b/s/request.cpp
@@ -199,7 +199,7 @@ namespace mongo {
return info;
}
- map<int,ClientInfo*> ClientInfo::_clients;
+ ClientCache& ClientInfo::_clients = *(new ClientCache());
mongo::mutex ClientInfo::_clientsLock("_clientsLock");
boost::thread_specific_ptr<ClientInfo> ClientInfo::_tlInfo;