From 4b79461c03e0dd4656c1ad4fdca4344fb2cd1b19 Mon Sep 17 00:00:00 2001 From: rpj Date: Thu, 15 May 2003 06:15:57 +0000 Subject: Fixed memory leaks caused by destructors calling pthreads routines at thread exit. --- ChangeLog | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index d928d59..95702a0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2003-05-15 Steven Reddie + + * pthread_win32_attach_detach_np.c (pthread_win32_process_detach_np): + NULLify ptw32_selfThreadKey after the thread is destroyed, otherwise + destructors calling pthreads routines might resurrect it again, creating + memory leaks. Call the underlying Win32 Tls routine directly rather than + pthread_setspecific(). + (pthread_win32_thread_detach_np): Likewise. + 2003-05-14 Viv * pthread.dsp: Change /MT compile flag to /MD. -- cgit v1.2.3