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
This commit is contained in:
Rupa Schomaker 2009-02-20 20:17:55 +00:00
parent 292ed6eee5
commit 9952b6d633
1 changed files with 1 additions and 2 deletions

View File

@ -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");