mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Merged revisions 49600 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r49600 | kpfleming | 2007-01-04 18:01:40 -0600 (Thu, 04 Jan 2007) | 2 lines revert the dynamic_list insertion change... that was not the right thing to do ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49603 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -922,10 +922,6 @@ static struct iax2_thread *find_idle_thread(void)
|
||||
ast_mutex_destroy(&thread->lock);
|
||||
free(thread);
|
||||
thread = NULL;
|
||||
} else {
|
||||
AST_LIST_LOCK(&dynamic_list);
|
||||
AST_LIST_INSERT_TAIL(&dynamic_list, thread, list);
|
||||
AST_LIST_UNLOCK(&dynamic_list);
|
||||
}
|
||||
|
||||
return thread;
|
||||
|
Reference in New Issue
Block a user