Merge "Disable leak checking for mksh; it's way too leaky."
This commit is contained in:
@@ -376,6 +376,11 @@ static void malloc_init_impl() {
|
||||
}
|
||||
}
|
||||
|
||||
// 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:
|
||||
|
Reference in New Issue
Block a user