commit | 778a68e1e57408be04806b5bfc3150aade44bcbf | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Wed Jan 23 06:06:21 2013 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Wed Jan 23 06:06:21 2013 +0000 |
tree | 0e49a81d919a0b83f91a6c74b9ba99f4e48d3088 | |
parent | 5c8f75ef8bd89498de1d1108efa54869a2784738 [diff] | |
parent | 848247a972038e30e12b0c9f7f049aa97c73b9c7 [diff] |
Merge "Don't free anything when reporting leaks."
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: