diff options
Diffstat (limited to 'sysdeps/htl/pt-init-specific.c')
-rw-r--r-- | sysdeps/htl/pt-init-specific.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/htl/pt-init-specific.c b/sysdeps/htl/pt-init-specific.c index 8c4d23cb13..ed6c6f2d0c 100644 --- a/sysdeps/htl/pt-init-specific.c +++ b/sysdeps/htl/pt-init-specific.c @@ -26,5 +26,7 @@ __pthread_init_specific (struct __pthread *thread) { thread->thread_specifics = 0; thread->thread_specifics_size = 0; + memset (&thread->static_thread_specifics, 0, + sizeof (thread->static_thread_specifics)); return 0; } |