switch malloc_enable to enforce_init

This commit is contained in:
Daniel Micay 2018-11-12 05:37:20 -05:00
parent 3cd3d34b3e
commit a617f7604d

View File

@ -1533,7 +1533,7 @@ COLD EXPORT void h_malloc_disable(void) {
}
COLD EXPORT void h_malloc_enable(void) {
init();
enforce_init();
thread_unseal_metadata();
full_unlock();
thread_seal_metadata();