mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-10 14:39:59 -04:00
Catch certain reference after free and failure to initalise bugs
earlier in development rather than later.
This commit is contained in:
parent
af4f8c7019
commit
07bd65db25
1 changed files with 10 additions and 0 deletions
|
|
@ -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.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue