diff options
Diffstat (limited to 'pthread/pt-alloc.c')
-rw-r--r-- | pthread/pt-alloc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pthread/pt-alloc.c b/pthread/pt-alloc.c index af544c5..4860f48 100644 --- a/pthread/pt-alloc.c +++ b/pthread/pt-alloc.c @@ -68,6 +68,8 @@ initialize_pthread (struct __pthread *new) new->cancelation_handlers = 0; + memset (&new->res_state, '\0', sizeof (new->res_state)); + #ifdef ENABLE_TLS new->tcb = NULL; #endif |