[asterisk-commits] mmichelson: branch group/CCSS r213634 - /team/group/CCSS/apps/app_dial.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Aug 21 15:58:31 CDT 2009
Author: mmichelson
Date: Fri Aug 21 15:58:28 2009
New Revision: 213634
URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=213634
Log:
Fix a locking issue.
Modified:
team/group/CCSS/apps/app_dial.c
Modified: team/group/CCSS/apps/app_dial.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/group/CCSS/apps/app_dial.c?view=diff&rev=213634&r1=213633&r2=213634
==============================================================================
--- team/group/CCSS/apps/app_dial.c (original)
+++ team/group/CCSS/apps/app_dial.c Fri Aug 21 15:58:28 2009
@@ -1756,8 +1756,10 @@
ast_channel_lock(chan);
if (!(cc_interfaces_datastore = ast_channel_datastore_find(chan, &dial_cc_interfaces_info, NULL))) {
/* Situation 1 has occurred */
+ ast_channel_unlock(chan);
return cc_interfaces_datastore_init(chan);
}
+ ast_channel_unlock(chan);
interfaces = cc_interfaces_datastore->data;
if (!interfaces->done) {
More information about the asterisk-commits
mailing list