From a3268b8d2fd5f70afce36e859095297fafb1afe7 Mon Sep 17 00:00:00 2001 From: Karl Heyes Date: Wed, 12 Mar 2003 03:59:55 +0000 Subject: [PATCH] avoid freeing a thread structure a second time. svn path=/trunk/thread/; revision=4477 --- src/thread/thread.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/thread/thread.c b/src/thread/thread.c index fca021a0..20a14ded 100644 --- a/src/thread/thread.c +++ b/src/thread/thread.c @@ -738,7 +738,6 @@ void thread_join(thread_type *thread) _mutex_lock(&_threadtree_mutex); avl_delete(_threadtree, thread, _free_thread); _mutex_unlock(&_threadtree_mutex); - _free_thread(thread); } /* AVL tree functions */