summaryrefslogtreecommitdiff
path: root/cleanup.c
diff options
context:
space:
mode:
Diffstat (limited to 'cleanup.c')
-rw-r--r--cleanup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cleanup.c b/cleanup.c
index 0c8f875..0a5ae3f 100644
--- a/cleanup.c
+++ b/cleanup.c
@@ -192,6 +192,7 @@ _pthread_destructor_run_all()
for re-use.
*/
key->status = _PTHREAD_TSD_KEY_REUSE;
+ _pthread_key_reuse[_pthread_key_reuse_top++] = k;
}
else
{