[asterisk-commits] mmichelson: branch group/CCSS_Monitor_Restructure r244227 - /team/group/CCSS_...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Feb 1 14:56:57 CST 2010


Author: mmichelson
Date: Mon Feb  1 14:56:55 2010
New Revision: 244227

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=244227
Log:
Call destructor in case that ast_cc_busy_interface fails.


Modified:
    team/group/CCSS_Monitor_Restructure/main/ccss.c

Modified: team/group/CCSS_Monitor_Restructure/main/ccss.c
URL: http://svnview.digium.com/svn/asterisk/team/group/CCSS_Monitor_Restructure/main/ccss.c?view=diff&rev=244227&r1=244226&r2=244227
==============================================================================
--- team/group/CCSS_Monitor_Restructure/main/ccss.c (original)
+++ team/group/CCSS_Monitor_Restructure/main/ccss.c Mon Feb  1 14:56:55 2010
@@ -3337,6 +3337,7 @@
 	struct ast_control_cc_payload payload;
 	if (cc_build_payload(inbound, cc_params, monitor_type, device_name, dialable_name, AST_CC_CCBS, private_data, &payload)) {
 		/* Something screwed up. Don't try to handle this payload */
+		call_destructor_with_no_monitor(monitor_type, private_data);
 		return;
 	}
 	ast_handle_cc_control_frame(inbound, NULL, &payload);




More information about the asterisk-commits mailing list