(pthread_functions): Initialize ptr_freeres.
authordrepper <drepper>
Wed, 23 Aug 2006 17:41:31 +0000 (17:41 +0000)
committerdrepper <drepper>
Wed, 23 Aug 2006 17:41:31 +0000 (17:41 +0000)
nptl/init.c

index 7cfe803..1444115 100644 (file)
@@ -136,7 +136,9 @@ static const struct pthread_functions pthread_functions =
     .ptr_nthreads = &__nptl_nthreads,
     .ptr___pthread_unwind = &__pthread_unwind,
     .ptr__nptl_deallocate_tsd = __nptl_deallocate_tsd,
-    .ptr__nptl_setxid = __nptl_setxid
+    .ptr__nptl_setxid = __nptl_setxid,
+    /* For now only the stack cache needs to be freed.  */
+    .ptr_freeres = __free_stack_cache
   };
 # define ptr_pthread_functions &pthread_functions
 #else