[asterisk-commits] file: branch file/bridging r177692 - /team/file/bridging/apps/app_confbridge.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Feb 20 12:40:03 CST 2009
Author: file
Date: Fri Feb 20 12:40:02 2009
New Revision: 177692
URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=177692
Log:
It is possible for a conference bridge to be destroyed that had no bridge, so handle that.
Modified:
team/file/bridging/apps/app_confbridge.c
Modified: team/file/bridging/apps/app_confbridge.c
URL: http://svn.digium.com/svn-view/asterisk/team/file/bridging/apps/app_confbridge.c?view=diff&rev=177692&r1=177691&r2=177692
==============================================================================
--- team/file/bridging/apps/app_confbridge.c (original)
+++ team/file/bridging/apps/app_confbridge.c Fri Feb 20 12:40:02 2009
@@ -381,8 +381,10 @@
}
/* Destroying a conference bridge is simple, all we have to do is destroy the bridging object */
- ast_bridge_destroy(conference_bridge->bridge);
- conference_bridge->bridge = NULL;
+ if (conference_bridge->bridge) {
+ ast_bridge_destroy(conference_bridge->bridge);
+ conference_bridge->bridge = NULL;
+ }
return;
}
More information about the asterisk-commits
mailing list