mirror of
https://github.com/GrapheneOS/hardened_malloc.git
synced 2025-04-20 06:20:20 +02:00
switch malloc_enable to enforce_init
This commit is contained in:
parent
3cd3d34b3e
commit
a617f7604d
1 changed files with 1 additions and 1 deletions
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();
|
||||||
|
|
Loading…
Add table
Reference in a new issue