Add define value nimBurnFree which allow deallocation procedures to fill memory with 0xFF before freeing it.
This commit is contained in:
parent
09651bec5e
commit
f0ea9447ce
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ const
|
|||
alwaysGC = defined(fulldebug) # collect after every memory
|
||||
# allocation (for debugging)
|
||||
leakDetector = false
|
||||
overwriteFree = false
|
||||
overwriteFree = defined(nimBurnFree) # overwrite memory with 0xFF before free
|
||||
trackAllocationSource = leakDetector
|
||||
|
||||
cycleGC = true # (de)activate the cycle GC
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue