summaryrefslogtreecommitdiff
path: root/shell
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 /shell
parent1737e7eb16c711d944cd6d7e9a16b206f16de5fb (diff)
downloadmongo-ec609581b41b10858bb8980313703a6d6cc8baa1.tar.gz
Plug leaks
Diffstat (limited to 'shell')
-rw-r--r--shell/utils.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/shell/utils.cpp b/shell/utils.cpp
index 8c07dce2696..7abe3625333 100644
--- a/shell/utils.cpp
+++ b/shell/utils.cpp
@@ -232,6 +232,7 @@ namespace mongo {
#if 0
if (program == "mongos") {
argv_.push_back("valgrind");
+ argv_.push_back("--log-file=/tmp/mongos-%p.valgrind");
argv_.push_back("--leak-check=yes");
argv_.push_back("--suppressions=valgrind.suppressions");
//argv_.push_back("--error-exitcode=1");