提交 17f79bc2 authored 作者: Raymond Chandler's avatar Raymond Chandler

CID: 1210770

上级 7f18b80e
......@@ -1562,7 +1562,6 @@ SWITCH_STANDARD_DIALPLAN(lcr_dialplan_hunt)
callback_t routes = { 0 };
lcr_route cur_route = { 0 };
switch_memory_pool_t *pool = switch_core_session_get_pool(session);
switch_event_t *event = NULL;
const char *intrastate = NULL;
const char *intralata = NULL;
const char *lrn = NULL;
......@@ -1652,9 +1651,6 @@ SWITCH_STANDARD_DIALPLAN(lcr_dialplan_hunt)
end:
lcr_destroy(routes.head);
if (event) {
switch_event_destroy(&event);
}
if (!session) {
switch_core_destroy_memory_pool(&pool);
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论