1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-12-04 14:46:30 -05:00

avoid freeing a thread structure a second time.

svn path=/trunk/thread/; revision=4477
This commit is contained in:
Karl Heyes 2003-03-12 03:59:55 +00:00
parent 596922217b
commit a3268b8d2f

View File

@ -738,7 +738,6 @@ void thread_join(thread_type *thread)
_mutex_lock(&_threadtree_mutex); _mutex_lock(&_threadtree_mutex);
avl_delete(_threadtree, thread, _free_thread); avl_delete(_threadtree, thread, _free_thread);
_mutex_unlock(&_threadtree_mutex); _mutex_unlock(&_threadtree_mutex);
_free_thread(thread);
} }
/* AVL tree functions */ /* AVL tree functions */