From: Rupa Schomaker Date: Fri, 20 Feb 2009 20:17:55 +0000 (+0000) Subject: don't reuse the module loader's memory pool for our own X-Git-Tag: v1.0.4~1906 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9952b6d63348ee20cf3748b4a76fbacf01c7dc31;p=thirdparty%2Ffreeswitch.git 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 --- 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");