From 666aa0201b5e68d13d24d7e9151c7d548d5cbbda Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 28 Oct 2007 00:59:34 +0000 Subject: * malloc/arena.c [!NO_THREADS]: Use ATFORK_MEM if defined. --- malloc/arena.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'malloc') diff --git a/malloc/arena.c b/malloc/arena.c index ce64335567..4cbb4dc307 100644 --- a/malloc/arena.c +++ b/malloc/arena.c @@ -160,6 +160,10 @@ static void (*save_free_hook) (__malloc_ptr_t __ptr, __const __malloc_ptr_t); static Void_t* save_arena; +#ifdef ATFORK_MEM +ATFORK_MEM; +#endif + /* Magic value for the thread-specific arena pointer when malloc_atfork() is in use. */ -- cgit v1.2.3