summaryrefslogtreecommitdiff
path: root/pthread/pt-create.c
diff options
context:
space:
mode:
Diffstat (limited to 'pthread/pt-create.c')
-rw-r--r--pthread/pt-create.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/pthread/pt-create.c b/pthread/pt-create.c
index 99d1b47..5358b08 100644
--- a/pthread/pt-create.c
+++ b/pthread/pt-create.c
@@ -217,7 +217,6 @@ __pthread_create_internal (struct __pthread **thread,
pthread->tcb = NULL;
failed_thread_tls_alloc:
#endif /* ENABLE_TLS */
- __pthread_thread_dealloc (pthread);
__pthread_thread_terminate (pthread);
/* __pthread_thread_terminate has taken care of deallocating the stack and