diff options
| author | John Birrell <jb@FreeBSD.org> | 1998-09-30 06:24:57 +0000 |
|---|---|---|
| committer | John Birrell <jb@FreeBSD.org> | 1998-09-30 06:24:57 +0000 |
| commit | 92ce833722f80de44bcc340f24019228565ee33f (patch) | |
| tree | d1141d20065905bb4e44a04c4fb2d3e86056bf26 /lib/libpthread/thread | |
| parent | a247f8331640a1b2c5831bcaf14cfc55cda08b99 (diff) | |
Notes
Diffstat (limited to 'lib/libpthread/thread')
| -rw-r--r-- | lib/libpthread/thread/thr_spec.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libpthread/thread/thr_spec.c b/lib/libpthread/thread/thr_spec.c index 745a14509b9e..8558dff85980 100644 --- a/lib/libpthread/thread/thr_spec.c +++ b/lib/libpthread/thread/thr_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); } |
