Remove gratuitous race

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1840 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer 2003-12-08 23:42:07 +00:00
parent 2fe1bc2e71
commit 0f2bdc6d0a
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}