From 9952b6d63348ee20cf3748b4a76fbacf01c7dc31 Mon Sep 17 00:00:00 2001 From: Rupa Schomaker Date: Fri, 20 Feb 2009 20:17:55 +0000 Subject: [PATCH] don't reuse the module loader's memory pool for our own git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12194 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/applications/mod_lcr/mod_lcr.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/mod/applications/mod_lcr/mod_lcr.c b/src/mod/applications/mod_lcr/mod_lcr.c index 691a66141f..0f46f85f87 100644 --- a/src/mod/applications/mod_lcr/mod_lcr.c +++ b/src/mod/applications/mod_lcr/mod_lcr.c @@ -978,8 +978,7 @@ SWITCH_MODULE_LOAD_FUNCTION(mod_lcr_load) return SWITCH_STATUS_FALSE; #endif - globals.pool = pool; - + switch_core_new_memory_pool(&globals.pool); if (lcr_load_config() != SWITCH_STATUS_SUCCESS) { switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Unable to load lcr config file\n");