From c829877254d8f28b99772c99ef70e9b734704153 Mon Sep 17 00:00:00 2001 From: Michael Jerris <mike@jerris.com> Date: Thu, 9 Aug 2007 03:19:07 +0000 Subject: [PATCH] fix for MODAPP-25. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5579 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/applications/mod_conference/mod_conference.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/mod/applications/mod_conference/mod_conference.c b/src/mod/applications/mod_conference/mod_conference.c index 404592a4a0..de1204eb91 100644 --- a/src/mod/applications/mod_conference/mod_conference.c +++ b/src/mod/applications/mod_conference/mod_conference.c @@ -4451,7 +4451,10 @@ static switch_status_t conference_new_install_caller_controls_custom(conference_ switch_xml_t xml_kvp; assert(conference != NULL); - assert(xml_controls != NULL); + + if (!xml_controls) { + return status; + } /* parse the controls tree for caller control digit strings */ for (xml_kvp = switch_xml_child(xml_controls, "control"); xml_kvp; xml_kvp = xml_kvp->next) {