mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-02 20:08:17 +00:00
Add missing unlock (although it shouldn't make a difference)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2922 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1641,6 +1641,7 @@ static int zt_call(struct ast_channel *ast, char *rdest, int timeout)
|
||||
}
|
||||
if (pri_grab(p, p->pri)) {
|
||||
ast_log(LOG_WARNING, "Failed to grab PRI!\n");
|
||||
ast_mutex_unlock(&p->lock);
|
||||
return -1;
|
||||
}
|
||||
if (!(p->call = pri_new_call(p->pri->pri))) {
|
||||
|
||||
Reference in New Issue
Block a user