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:
parent
596922217b
commit
a3268b8d2f
@ -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 */
|
||||||
|
Loading…
Reference in New Issue
Block a user