[asterisk-commits] file: branch file/bridging r107284 - /team/file/bridging/main/bridging.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Mar 10 18:06:48 CDT 2008
Author: file
Date: Mon Mar 10 18:06:46 2008
New Revision: 107284
URL: http://svn.digium.com/view/asterisk?view=rev&rev=107284
Log:
Oh dear, I forgot to lock the bridge.
Modified:
team/file/bridging/main/bridging.c
Modified: team/file/bridging/main/bridging.c
URL: http://svn.digium.com/view/asterisk/team/file/bridging/main/bridging.c?view=diff&rev=107284&r1=107283&r2=107284
==============================================================================
--- team/file/bridging/main/bridging.c (original)
+++ team/file/bridging/main/bridging.c Mon Mar 10 18:06:46 2008
@@ -1301,6 +1301,8 @@
{
struct ast_bridge_channel *bridge_channel = NULL;
+ ast_mutex_lock(&bridge->lock);
+
/* Locate the channel we want to unsuspend */
if (!(bridge_channel = find_bridge_channel(bridge, chan))) {
ast_mutex_unlock(&bridge->lock);
More information about the asterisk-commits
mailing list