[asterisk-commits] file: branch file/bridging r99697 - /team/file/bridging/main/bridging.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Jan 22 16:59:35 CST 2008


Author: file
Date: Tue Jan 22 16:59:35 2008
New Revision: 99697

URL: http://svn.digium.com/view/asterisk?view=rev&rev=99697
Log:
Minor locking change due to the new feature stuff.

Modified:
    team/file/bridging/main/bridging.c

Change Statistics:
 0 files changed

Modified: team/file/bridging/main/bridging.c
URL: http://svn.digium.com/view/asterisk/team/file/bridging/main/bridging.c?view=diff&rev=99697&r1=99696&r2=99697
==============================================================================
--- team/file/bridging/main/bridging.c (original)
+++ team/file/bridging/main/bridging.c Tue Jan 22 16:59:35 2008
@@ -1262,7 +1262,9 @@
 	/* This is very simple, we basically change the state on the bridge channel to end and the core takes care of the rest */
 	bridge_channel->state = AST_BRIDGE_CHANNEL_STATE_END;
 	/* See if the bridge needs to dissolve away */
+	ast_mutex_lock(&bridge->lock);
 	bridge_check_dissolve(bridge);
+	ast_mutex_unlock(&bridge->lock);
 	return 0;
 }
 




More information about the asterisk-commits mailing list