mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-16 08:49:01 +00:00
CID: 1210770
This commit is contained in:
parent
7f18b80e60
commit
17f79bc2c3
@ -1562,7 +1562,6 @@ SWITCH_STANDARD_DIALPLAN(lcr_dialplan_hunt)
|
|||||||
callback_t routes = { 0 };
|
callback_t routes = { 0 };
|
||||||
lcr_route cur_route = { 0 };
|
lcr_route cur_route = { 0 };
|
||||||
switch_memory_pool_t *pool = switch_core_session_get_pool(session);
|
switch_memory_pool_t *pool = switch_core_session_get_pool(session);
|
||||||
switch_event_t *event = NULL;
|
|
||||||
const char *intrastate = NULL;
|
const char *intrastate = NULL;
|
||||||
const char *intralata = NULL;
|
const char *intralata = NULL;
|
||||||
const char *lrn = NULL;
|
const char *lrn = NULL;
|
||||||
@ -1652,9 +1651,6 @@ SWITCH_STANDARD_DIALPLAN(lcr_dialplan_hunt)
|
|||||||
|
|
||||||
end:
|
end:
|
||||||
lcr_destroy(routes.head);
|
lcr_destroy(routes.head);
|
||||||
if (event) {
|
|
||||||
switch_event_destroy(&event);
|
|
||||||
}
|
|
||||||
if (!session) {
|
if (!session) {
|
||||||
switch_core_destroy_memory_pool(&pool);
|
switch_core_destroy_memory_pool(&pool);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user