[asterisk-commits] file: branch 1.4 r188937 - /branches/1.4/channels/chan_dahdi.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Apr 17 09:26:08 CDT 2009
Author: file
Date: Fri Apr 17 09:25:57 2009
New Revision: 188937
URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=188937
Log:
Fix a situation where the DAHDI channel private structure lock was not unlocked when it should have been.
(issue AST-210)
Modified:
branches/1.4/channels/chan_dahdi.c
Modified: branches/1.4/channels/chan_dahdi.c
URL: http://svn.digium.com/svn-view/asterisk/branches/1.4/channels/chan_dahdi.c?view=diff&rev=188937&r1=188936&r2=188937
==============================================================================
--- branches/1.4/channels/chan_dahdi.c (original)
+++ branches/1.4/channels/chan_dahdi.c Fri Apr 17 09:25:57 2009
@@ -9242,6 +9242,7 @@
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 */
More information about the asterisk-commits
mailing list