提交 3f59051b authored 作者: Anthony Minessale's avatar Anthony Minessale

close the xml handle

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2840 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 f11b1609
...@@ -293,6 +293,7 @@ static switch_caller_extension_t *dialplan_hunt(switch_core_session_t *session) ...@@ -293,6 +293,7 @@ static switch_caller_extension_t *dialplan_hunt(switch_core_session_t *session)
if (!(xcontext = switch_xml_find_child(cfg, "context", "name", "global"))) { if (!(xcontext = switch_xml_find_child(cfg, "context", "name", "global"))) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "context %s not found\n", context); switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "context %s not found\n", context);
switch_channel_hangup(channel, SWITCH_CAUSE_MESSAGE_TYPE_NONEXIST); switch_channel_hangup(channel, SWITCH_CAUSE_MESSAGE_TYPE_NONEXIST);
switch_xml_free(xml);
return NULL; return NULL;
} }
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论