commit f74781647a842bb801278d54cf82cd1104563d18 from: Alexander Barton date: Thu Dec 28 12:53:41 2006 UTC array_free(): enable debug code only when DEBUG_ARRAY is #define'd. commit - 5c782302835e19ac1373ccd574070b8ff9003517 commit + f74781647a842bb801278d54cf82cd1104563d18 blob - 1342c670060db94242267c19c6c32a5eca5f4a94 blob + d26d5e39b15874e1eb147da24fd01954e5cdd1c4 --- src/ngircd/array.c +++ src/ngircd/array.c @@ -12,7 +12,7 @@ #include "array.h" -static char UNUSED id[] = "$Id: array.c,v 1.13 2006/12/17 22:52:43 fw Exp $"; +static char UNUSED id[] = "$Id: array.c,v 1.14 2006/12/28 12:53:41 alex Exp $"; #include @@ -270,7 +270,7 @@ void array_free(array * a) { assert(a != NULL); -#ifdef DEBUG +#ifdef DEBUG_ARRAY Log(LOG_DEBUG, "array_free(): %u bytes free'd (%u bytes still used at time of free()).", a->allocated, a->used);