Eric Pouech : loader: Added missing attr destroy.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Feb 14 07:28:01 CST 2006


Module: wine
Branch: refs/heads/master
Commit: 4642e1e44146b0182a7146bfb6a6f33927ab3fb8
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=4642e1e44146b0182a7146bfb6a6f33927ab3fb8

Author: Eric Pouech <eric.pouech at wanadoo.fr>
Date:   Tue Feb 14 11:34:58 2006 +0100

loader: Added missing attr destroy.

---

 loader/pthread.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/loader/pthread.c b/loader/pthread.c
index 20cc3a9..87ef2e8 100644
--- a/loader/pthread.c
+++ b/loader/pthread.c
@@ -69,6 +69,7 @@ static void init_thread( struct wine_pth
         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());




More information about the wine-cvs mailing list