1
0
mirror of https://github.com/signalwire/freeswitch.git synced 2025-03-13 12:40:17 +00:00

fix comments

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4442 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West 2007-03-04 01:47:08 +00:00
parent 60e80586db
commit 343c2210da

@ -40,7 +40,7 @@
#include <sys/mman.h> #include <sys/mman.h>
#endif #endif
//#define DEBUG_ALLOC /* #define DEBUG_ALLOC */
#define DO_EVENTS #define DO_EVENTS
#ifdef CRASH_PROT #ifdef CRASH_PROT
@ -3684,7 +3684,7 @@ SWITCH_DECLARE(void *) switch_core_alloc(switch_memory_pool_t *pool, switch_size
#ifdef DEBUG_ALLOC #ifdef DEBUG_ALLOC
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Allocate %d\n", memory); switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Allocate %d\n", memory);
//assert(memory < 600000); /* assert(memory < 600000); */
#endif #endif
if ((ptr = apr_palloc(pool, memory)) != 0) { if ((ptr = apr_palloc(pool, memory)) != 0) {
@ -4615,7 +4615,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_destroy(void)
if (runtime.memory_pool) { if (runtime.memory_pool) {
apr_pool_destroy(runtime.memory_pool); apr_pool_destroy(runtime.memory_pool);
//apr_terminate(); /* apr_terminate(); */
} }
return SWITCH_STATUS_SUCCESS; return SWITCH_STATUS_SUCCESS;