summaryrefslogtreecommitdiff
path: root/channels
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2009-04-17 14:26:53 +0000
committerJoshua Colp <jcolp@digium.com>2009-04-17 14:26:53 +0000
commitb0347267b3570a59605f4e0dd1630b78bdb8e6c9 (patch)
treeaed346200cafffe2b7ac0bf133bbcc628ecc2129 /channels
parent6c29f76d2c8c0f59da02e0732a0db1d41fc3beb7 (diff)
Merged revisions 188937 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r188937 | file | 2009-04-17 11:25:57 -0300 (Fri, 17 Apr 2009) | 4 lines Fix a situation where the DAHDI channel private structure lock was not unlocked when it should have been. (issue AST-210) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@188938 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_dahdi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c
index 1bcd6676b..d2f7f727c 100644
--- a/channels/chan_dahdi.c
+++ b/channels/chan_dahdi.c
@@ -12858,6 +12858,7 @@ static void *pri_dchannel(void *vpri)
if (pri->pvts[chanpos]->call == e->ring.call) {
ast_log(LOG_WARNING, "Duplicate setup requested on channel %d/%d already in use on span %d\n",
PRI_SPAN(e->ring.channel), PRI_CHANNEL(e->ring.channel), pri->span);
+ ast_mutex_unlock(&pri->pvts[chanpos]->lock);
break;
} else {
/* This is where we handle initial glare */