Remove gratuitous race
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1840 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
parent
2fe1bc2e71
commit
0f2bdc6d0a
|
@ -996,9 +996,9 @@ static int iax2_predestroy(int callno)
|
|||
if (usecnt < 0)
|
||||
ast_log(LOG_WARNING, "Usecnt < 0???\n");
|
||||
ast_mutex_unlock(&usecnt_lock);
|
||||
ast_update_use_count();
|
||||
}
|
||||
ast_mutex_unlock(&iaxsl[callno]);
|
||||
ast_update_use_count();
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue