diff --git a/lib/isc/mem.c b/lib/isc/mem.c index d6ddc2115e..3401fb900c 100644 --- a/lib/isc/mem.c +++ b/lib/isc/mem.c @@ -36,6 +36,16 @@ #define UNLOCK(l) #endif +#ifndef ISC_MEM_FILL + /* + * XXXMPA + * We want this on during development to catch: + * 1. some reference after free bugs. + * 2. some failure to initalise bugs. + */ +#define ISC_MEM_FILL 1 +#endif + /* * Types. */