about summary refs log tree commit diff stats
path: root/src/box64context.c
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2023-10-17 17:29:32 +0200
committerptitSeb <sebastien.chev@gmail.com>2023-10-17 17:29:32 +0200
commit5493ab345ac2af9ac3a3ef0bfd321eaf3910460c (patch)
tree43bd5139f78da43c0937c59c8ecaaf491bf5890f /src/box64context.c
parent2589f7db14f7739f58c2e2c9634799c629307a15 (diff)
downloadbox64-5493ab345ac2af9ac3a3ef0bfd321eaf3910460c.tar.gz
box64-5493ab345ac2af9ac3a3ef0bfd321eaf3910460c.zip
Some more rollback on tls destructor (more work needed on threads cleanup handling)
Diffstat (limited to 'src/box64context.c')
-rw-r--r--src/box64context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/box64context.c b/src/box64context.c
index e38d0d33..b302b777 100644
--- a/src/box64context.c
+++ b/src/box64context.c
@@ -238,7 +238,7 @@ box64context_t *NewBox64Context(int argc)
     init_mutexes(context);
     pthread_atfork(NULL, NULL, atfork_child_box64context);
 
-    pthread_key_create(&context->tlskey, NULL/*free_tlsdatasize*/);
+    pthread_key_create(&context->tlskey, free_tlsdatasize);
 
 
     for (int i=0; i<8; ++i) context->canary[i] = 1 +  getrand(255);