From 6993670b52daa413717e840dfb17b5322e7f4a88 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Tue, 19 May 2020 11:03:11 +0200 Subject: nptl: Destroy the default thread attribute as part of freeres This avoids a spurious memory leak report by valgrind. Reviewed-by: Carlos O'Donell --- nptl/nptlfreeres.c | 1 + 1 file changed, 1 insertion(+) (limited to 'nptl/nptlfreeres.c') diff --git a/nptl/nptlfreeres.c b/nptl/nptlfreeres.c index dda11e5..07aa34a 100644 --- a/nptl/nptlfreeres.c +++ b/nptl/nptlfreeres.c @@ -25,6 +25,7 @@ void __libpthread_freeres (void) { + call_function_static_weak (__default_pthread_attr_freeres); call_function_static_weak (__nptl_stacks_freeres); call_function_static_weak (__shm_directory_freeres); call_function_static_weak (__nptl_unwind_freeres); -- cgit v1.1