From 4642e1e44146b0182a7146bfb6a6f33927ab3fb8 Mon Sep 17 00:00:00 2001 From: Eric Pouech Date: Tue, 14 Feb 2006 11:34:58 +0100 Subject: [PATCH] loader: Added missing attr destroy. --- loader/pthread.c | 1 + 1 file changed, 1 insertion(+) diff --git a/loader/pthread.c b/loader/pthread.c index 20cc3a9d1e6..87ef2e839ec 100644 --- a/loader/pthread.c +++ b/loader/pthread.c @@ -69,6 +69,7 @@ static void init_thread( struct wine_pthread_thread_info *info ) pthread_attr_t attr; pthread_getattr_np( pthread_self(), &attr ); pthread_attr_getstack( &attr, &info->stack_base, &info->stack_size ); + pthread_attr_destroy( &attr ); #elif defined(HAVE_PTHREAD_GET_STACKSIZE_NP) && defined(HAVE_PTHREAD_GET_STACKADDR_NP) char dummy; info->stack_size = pthread_get_stacksize_np(pthread_self());