diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-04-17 14:28:45 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-04-17 14:28:45 +0000 |
commit | 16f2cb045cb90c1f3d3713f1fa40d22bed25de19 (patch) | |
tree | 5c664a60c2d61dd59177b6a69a91dc265ed4db1a | |
parent | 285ead670661d4a1d251c8120b563f54ed7d1af7 (diff) |
Merged revisions 188938 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
................
r188938 | file | 2009-04-17 11:26:53 -0300 (Fri, 17 Apr 2009) | 11 lines
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: http://svn.digium.com/svn/asterisk/branches/1.6.1@188940 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | channels/chan_dahdi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c index 50ccb22ac..4ce97eb04 100644 --- a/channels/chan_dahdi.c +++ b/channels/chan_dahdi.c @@ -11217,6 +11217,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 */ |