diff --git a/lib/libthr/thread/thr_fork.c b/lib/libthr/thread/thr_fork.c index e16f884711e3..18a9a05fb459 100644 --- a/lib/libthr/thread/thr_fork.c +++ b/lib/libthr/thread/thr_fork.c @@ -172,6 +172,7 @@ _fork(void) if (unlock_malloc) { _rtld_atfork_post(rtld_locks); + _malloc_postfork(); } /* Run down atfork child handlers. */