]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
add debug
authorAnthony Minessale <anthm@freeswitch.org>
Thu, 30 Jun 2011 23:57:58 +0000 (18:57 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Thu, 30 Jun 2011 23:59:35 +0000 (18:59 -0500)
src/switch_core_memory.c

index 8af979bdb6499203bbf09b5274be38a42fac9bb3..d7d8f14a0fb9b67268cce0f91ea5a7e8ca276aaf 100644 (file)
@@ -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