From: Eric Bollengier Date: Fri, 4 Feb 2011 08:50:13 +0000 (+0100) Subject: Fix segfault with print_memory_pool_stats() X-Git-Tag: Release-7.0.0~1171 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e235cc604b2295b572e95ce3fccdbc939b0fc519;p=bacula%2Fbacula Fix segfault with print_memory_pool_stats() --- 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) {