Commit a3268b8d authored by Karl Heyes's avatar Karl Heyes

avoid freeing a thread structure a second time.

svn path=/trunk/thread/; revision=4477
parent 59692221
......@@ -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 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment