commit | 5c8f75ef8bd89498de1d1108efa54869a2784738 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Wed Jan 23 06:05:18 2013 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Wed Jan 23 06:05:19 2013 +0000 |
tree | dad43f1df94b4888342ae7aa5ce365c1c48f9956 | |
parent | 28f82b260c9076aae437dafb57193a174aef1eb3 [diff] | |
parent | 84f8b5f4013c5df372ad97f3f98ea27ac6064a97 [diff] |
Merge "Disable leak checking for mksh; it's way too leaky."
diff --git a/libc/bionic/malloc_debug_common.cpp b/libc/bionic/malloc_debug_common.cpp index bba0472..6e1ee70 100644 --- a/libc/bionic/malloc_debug_common.cpp +++ b/libc/bionic/malloc_debug_common.cpp
@@ -376,6 +376,11 @@ } } + // mksh is way too leaky. http://b/7291287. + if (debug_level >= 10 && strcmp(__progname, "sh") == 0) { + return; + } + // Choose the appropriate .so for the requested debug level. switch (debug_level) { case 1: