Merge pull request #4807 from cheatfate/nimBurnFree

add define nimBurnFree
This commit is contained in:
Andreas Rumpf
2016-09-20 17:12:57 +02:00
committed by GitHub

View File

@@ -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