diff --git a/h_malloc.c b/h_malloc.c index 486e6a58..56ef78d8 100644 --- a/h_malloc.c +++ b/h_malloc.c @@ -1493,7 +1493,7 @@ EXPORT void *h_realloc(void *old, size_t size) { } } - void *new = allocate(thread_arena, size); + void *new = alloc(size); if (new == NULL) { thread_seal_metadata(); return NULL;