about summary refs log tree commit diff
path: root/nptl/pthread_create.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/pthread_create.c')
-rw-r--r--nptl/pthread_create.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/nptl/pthread_create.c b/nptl/pthread_create.c
index 89152ffeb9..bac7455af8 100644
--- a/nptl/pthread_create.c
+++ b/nptl/pthread_create.c
@@ -124,6 +124,9 @@ deallocate_tsd (struct pthread *pd)
 	  size_t cnt;
 	  size_t idx;
 
+	  /* So far no new nonzero data entry.  */
+	  found_nonzero = false;
+
 	  for (cnt = idx = 0; cnt < PTHREAD_KEY_1STLEVEL_SIZE; ++cnt)
 	    if (pd->specific[cnt] != NULL)
 	      {