提交 343c2210 authored 作者: Brian West's avatar Brian West

fix comments

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4442 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 60e80586
...@@ -40,7 +40,7 @@ ...@@ -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 ...@@ -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) ...@@ -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;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论