am 552e02fa: am 5c8f75ef: Merge "Disable leak checking for mksh; it\'s way too leaky."

* commit '552e02fa9c99fd234c57d756358e3208d11a13ad':
  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: