[Freeswitch-trunk] [commit] r12512 - freeswitch/trunk/src

FreeSWITCH SVN anthm at freeswitch.org
Sat Mar 7 08:39:19 PST 2009


Author: anthm
Date: Sat Mar  7 10:39:18 2009
New Revision: 12512

Log:
tweak

Modified:
   freeswitch/trunk/src/switch_core_memory.c

Modified: freeswitch/trunk/src/switch_core_memory.c
==============================================================================
--- freeswitch/trunk/src/switch_core_memory.c	(original)
+++ freeswitch/trunk/src/switch_core_memory.c	Sat Mar  7 10:39:18 2009
@@ -368,9 +368,7 @@
 
 SWITCH_DECLARE(void) switch_core_memory_reclaim(void)
 {
-#ifdef INSTANTLY_DESTROY_POOLS
-	switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CONSOLE, "Recycled memory pool(s) disabled.\n");
-#else
+#if !defined(PER_POOL_LOCK) && !defined(INSTANTLY_DESTROY_POOLS)
 	switch_memory_pool_t *pool;
 	void *pop = NULL;
 	switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CONSOLE, "Returning %d recycled memory pool(s)\n",
@@ -384,6 +382,7 @@
 		apr_pool_destroy(pool);
 	}
 #endif
+	return;
 }
 
 static void *SWITCH_THREAD_FUNC pool_thread(switch_thread_t *thread, void *obj)



More information about the Freeswitch-trunk mailing list