From 2d7882ec0ebdb35a12d5658896d4819b6bc52a86 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Tue, 8 Jan 2019 17:01:56 -0500 Subject: [PATCH] remove redundant unseal / seal metadata --- h_malloc.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/h_malloc.c b/h_malloc.c index b3cc4a2..38f14e3 100644 --- a/h_malloc.c +++ b/h_malloc.c @@ -1544,15 +1544,11 @@ COLD EXPORT int h_iterate(UNUSED uintptr_t base, UNUSED size_t size, COLD EXPORT void h_malloc_disable(void) { init(); - thread_unseal_metadata(); full_lock(); - thread_seal_metadata(); } COLD EXPORT void h_malloc_enable(void) { enforce_init(); - thread_unseal_metadata(); full_unlock(); - thread_seal_metadata(); } #endif