From 17f79bc2c335a571e6e1eb15006ad004dff6c428 Mon Sep 17 00:00:00 2001 From: Raymond Chandler Date: Thu, 1 May 2014 16:36:55 -0400 Subject: [PATCH] CID: 1210770 --- src/mod/applications/mod_lcr/mod_lcr.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/mod/applications/mod_lcr/mod_lcr.c b/src/mod/applications/mod_lcr/mod_lcr.c index 1b3b6cd1ea..00673f12e5 100644 --- a/src/mod/applications/mod_lcr/mod_lcr.c +++ b/src/mod/applications/mod_lcr/mod_lcr.c @@ -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); }