From: Anthony Minessale Date: Thu, 30 Jun 2011 23:57:58 +0000 (-0500) Subject: add debug X-Git-Tag: v1.2-rc1~108^2^2~101 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9b2893684d26703837a97d8111401201a64fb514;p=thirdparty%2Ffreeswitch.git add debug --- diff --git a/src/switch_core_memory.c b/src/switch_core_memory.c index 8af979bdb6..d7d8f14a0f 100644 --- a/src/switch_core_memory.c +++ b/src/switch_core_memory.c @@ -416,7 +416,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_perform_destroy_memory_pool(switch_m switch_assert(pool != NULL); #ifdef DEBUG_ALLOC2 - switch_log_printf(SWITCH_CHANNEL_ID_LOG, file, func, line, NULL, SWITCH_LOG_CONSOLE, "Free Pool\n"); + switch_log_printf(SWITCH_CHANNEL_ID_LOG, file, func, line, NULL, SWITCH_LOG_CONSOLE, "Free Pool %s\n", apr_pool_tag(*pool, NULL)); #endif #ifdef INSTANTLY_DESTROY_POOLS