From e235cc604b2295b572e95ce3fccdbc939b0fc519 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Fri, 4 Feb 2011 09:50:13 +0100 Subject: [PATCH] Fix segfault with print_memory_pool_stats() --- bacula/src/lib/mem_pool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bacula/src/lib/mem_pool.c b/bacula/src/lib/mem_pool.c index 575b4868e2..117da13335 100644 --- a/bacula/src/lib/mem_pool.c +++ b/bacula/src/lib/mem_pool.c @@ -435,7 +435,7 @@ void garbage_collect_memory() #ifdef DEBUG static const char *pool_name(int pool) { - static const char *name[] = {"NoPool", "NAME ", "FNAME ", "MSG ", "EMSG "}; + static const char *name[] = {"NoPool", "NAME ", "FNAME ", "MSG ", "EMSG ", "BSOCK "}; static char buf[30]; if (pool >= 0 && pool <= PM_MAX) { -- 2.39.5