summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libthr/thread/thr_fork.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libthr/thread/thr_fork.c b/lib/libthr/thread/thr_fork.c
index e16f884..18a9a05 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. */
OpenPOWER on IntegriCloud