[asterisk-commits] rmudgett: branch group/bridge_construction r386008 - /team/group/bridge_const...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Apr 18 11:13:54 CDT 2013


Author: rmudgett
Date: Thu Apr 18 11:13:52 2013
New Revision: 386008

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=386008
Log:
Fix crash when run out of file descriptors.

You cannot reference peer_features after the call to ast_bridge_impart()
in ast_bridge_call() even if the impart fails.

Modified:
    team/group/bridge_construction/main/features.c

Modified: team/group/bridge_construction/main/features.c
URL: http://svnview.digium.com/svn/asterisk/team/group/bridge_construction/main/features.c?view=diff&rev=386008&r1=386007&r2=386008
==============================================================================
--- team/group/bridge_construction/main/features.c (original)
+++ team/group/bridge_construction/main/features.c Thu Apr 18 11:13:52 2013
@@ -4587,7 +4587,6 @@
 	/* Put peer into the bridge */
 	if (ast_bridge_impart(bridge, peer, NULL, peer_features, 1)) {
 		ast_bridge_destroy(bridge);
-		ast_bridge_features_destroy(peer_features);
 		ast_bridge_features_cleanup(&chan_features);
 		bridge_failed_peer_goto(chan, peer);
 		return -1;




More information about the asterisk-commits mailing list