[svn-commits] rmudgett: branch group/CCSS r244037 - /team/group/CCSS/channels/chan_dahdi.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Jan 28 20:25:35 CST 2010


Author: rmudgett
Date: Thu Jan 28 20:25:31 2010
New Revision: 244037

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=244037
Log:
Restore unlock in dahdi_read() that was accidentally removed.

Modified:
    team/group/CCSS/channels/chan_dahdi.c

Modified: team/group/CCSS/channels/chan_dahdi.c
URL: http://svnview.digium.com/svn/asterisk/team/group/CCSS/channels/chan_dahdi.c?view=diff&rev=244037&r1=244036&r2=244037
==============================================================================
--- team/group/CCSS/channels/chan_dahdi.c (original)
+++ team/group/CCSS/channels/chan_dahdi.c Thu Jan 28 20:25:31 2010
@@ -8157,6 +8157,7 @@
 			monitor_type = dahdi_cc_is_possible(p->owner, device_name);
 			if (monitor_type
 				&& !ast_cc_build_frame(p->owner, p->cc_params, monitor_type, device_name, p->dialstring, AST_CC_CCNR, &p->subs[idx].f)) {
+				ast_mutex_unlock(&p->lock);
 				p->subs[idx].ccframesent = 1;
 				return &p->subs[idx].f;
 			}




More information about the svn-commits mailing list