remove redundant unseal / seal metadata
parent
fa17f70a73
commit
2d7882ec0e
|
@ -1544,15 +1544,11 @@ COLD EXPORT int h_iterate(UNUSED uintptr_t base, UNUSED size_t size,
|
||||||
|
|
||||||
COLD EXPORT void h_malloc_disable(void) {
|
COLD EXPORT void h_malloc_disable(void) {
|
||||||
init();
|
init();
|
||||||
thread_unseal_metadata();
|
|
||||||
full_lock();
|
full_lock();
|
||||||
thread_seal_metadata();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
COLD EXPORT void h_malloc_enable(void) {
|
COLD EXPORT void h_malloc_enable(void) {
|
||||||
enforce_init();
|
enforce_init();
|
||||||
thread_unseal_metadata();
|
|
||||||
full_unlock();
|
full_unlock();
|
||||||
thread_seal_metadata();
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue