From 9b2c75233e67af1943af87a4fd39c6b316064b1f Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 8 Jan 2001 08:50:37 +0000 Subject: Update. 2001-01-08 Ulrich Drepper * libio/bits/stdio.h (printf): Define macro to map printf call to fprintf which gcc can optimize. --- linuxthreads/pthread.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'linuxthreads/pthread.c') diff --git a/linuxthreads/pthread.c b/linuxthreads/pthread.c index 75cac05ac0..836d8a81e1 100644 --- a/linuxthreads/pthread.c +++ b/linuxthreads/pthread.c @@ -740,7 +740,10 @@ static void pthread_exit_process(int retcode, void *arg) /* Main thread should accumulate times for thread manager and its children, so that timings for main thread account for all threads. */ if (self == __pthread_main_thread) - waitpid(__pthread_manager_thread.p_pid, NULL, __WCLONE); + { + waitpid(__pthread_manager_thread.p_pid, NULL, __WCLONE); + free (__pthread_manager_thread_bos); + } } } -- cgit v1.2.3