blob: e2dcfd7622fb129c709b2a088c0144021fc673ef [file] [log] [blame] [edit]
// +build leak
package z
import "unsafe"
func init() {
// By initializing dallocs, we can start tracking allocations and deallocations via z.Calloc.
dallocs = make(map[unsafe.Pointer]*dalloc)
}