diff options
-rw-r--r-- | malloc/hooks.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/malloc/hooks.c b/malloc/hooks.c index 5360037a0d..622a815f32 100644 --- a/malloc/hooks.c +++ b/malloc/hooks.c @@ -235,7 +235,7 @@ top_check() return -1; } /* Call the `morecore' hook if necessary. */ - void (*hook) (void) = __after_morecore_hook; + void (*hook) (void) = force_reg (__after_morecore_hook); if (hook) (*hook) (); main_arena.system_mem = (new_brk - mp_.sbrk_base) + sbrk_size; |