From ff47464de5e68e9c49fe312c953f54b2e90f546c Mon Sep 17 00:00:00 2001 From: David Leonard Date: Mon, 9 Nov 1998 03:13:22 +0000 Subject: sync with FreeBSD (rwlock, gc thread, man pages) add (broken) mips md stuff fix some const warnings add sigaltstack() stub another hash at getting shlib auto-init to work (mips/elf and i386/a.out) --- lib/libpthread/uthread/uthread_spec.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/libpthread/uthread/uthread_spec.c') diff --git a/lib/libpthread/uthread/uthread_spec.c b/lib/libpthread/uthread/uthread_spec.c index 081a000788d..1fe789e6201 100644 --- a/lib/libpthread/uthread/uthread_spec.c +++ b/lib/libpthread/uthread/uthread_spec.c @@ -119,10 +119,12 @@ _thread_cleanupspecific(void) destructor(data); } else { free(_thread_run->specific_data); + _thread_run->specific_data = NULL; return; } } } + _thread_run->specific_data = NULL; free(_thread_run->specific_data); } -- cgit v1.2.3