mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-18 18:58:22 +00:00
Remove gratuitous race
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1840 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user