summary refs log tree commit diff
path: root/malloc/thread-freeres.c
diff options
context:
space:
mode:
Diffstat (limited to 'malloc/thread-freeres.c')
-rw-r--r--malloc/thread-freeres.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/malloc/thread-freeres.c b/malloc/thread-freeres.c
index 3894652169..b22e1d789f 100644
--- a/malloc/thread-freeres.c
+++ b/malloc/thread-freeres.c
@@ -36,7 +36,7 @@ __libc_thread_freeres (void)
   __rpc_thread_destroy ();
 #endif
   call_function_static_weak (__res_thread_freeres);
-  __glibc_tls_internal_free ();
+  call_function_static_weak (__glibc_tls_internal_free);
   call_function_static_weak (__libc_dlerror_result_free);
 
   /* This should come last because it shuts down malloc for this