switch malloc_enable to enforce_init
This commit is contained in:
2
malloc.c
2
malloc.c
@@ -1533,7 +1533,7 @@ COLD EXPORT void h_malloc_disable(void) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
COLD EXPORT void h_malloc_enable(void) {
|
COLD EXPORT void h_malloc_enable(void) {
|
||||||
init();
|
enforce_init();
|
||||||
thread_unseal_metadata();
|
thread_unseal_metadata();
|
||||||
full_unlock();
|
full_unlock();
|
||||||
thread_seal_metadata();
|
thread_seal_metadata();
|
||||||
|
Reference in New Issue
Block a user