Fix a broken boolean test found by clang.
This was only on the failure case, so this probably never caused any real trouble. Change-Id: Id983689772102cbb9171693b927e544fb0b584fb
This commit is contained in:
parent
1f262b35fe
commit
29edbfd64f
@ -408,7 +408,7 @@ static void malloc_init_impl() {
|
||||
dlclose(malloc_impl_handle);
|
||||
return;
|
||||
}
|
||||
if (malloc_debug_initialize(&g_hash_table) == -1) {
|
||||
if (!malloc_debug_initialize(&g_hash_table)) {
|
||||
dlclose(malloc_impl_handle);
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user