[Freeswitch-svn] [commit] r12194 - freeswitch/trunk/src/mod/applications/mod_lcr

FreeSWITCH SVN rupa at freeswitch.org
Fri Feb 20 12:17:56 PST 2009


Author: rupa
Date: Fri Feb 20 14:17:55 2009
New Revision: 12194

Log:
don't reuse the module loader's memory pool for our own


Modified:
   freeswitch/trunk/src/mod/applications/mod_lcr/mod_lcr.c

Modified: freeswitch/trunk/src/mod/applications/mod_lcr/mod_lcr.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_lcr/mod_lcr.c	(original)
+++ freeswitch/trunk/src/mod/applications/mod_lcr/mod_lcr.c	Fri Feb 20 14:17:55 2009
@@ -978,8 +978,7 @@
 	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");



More information about the Freeswitch-svn mailing list