talloc: added TALLOC_FREE_FILL environment variable
authorAndrew Tridgell <tridge@samba.org>
Fri, 19 Nov 2010 00:04:33 +0000 (11:04 +1100)
committerAndrew Tridgell <tridge@samba.org>
Fri, 19 Nov 2010 04:17:42 +0000 (15:17 +1100)
commit999f3ed2ce656ecf97b95afa85823115939f9360
tree3f131913280332b7ee8be0538a84548f39f26684
parent58c43f74b9bc2d660f58ccfe912bd3fff7cf672e
talloc: added TALLOC_FREE_FILL environment variable

when this environment variable is set, talloc will fill freed memory
with the value from that environment variable. This can be used to
help find use after free bugs when valgrind is too slow to be used
lib/talloc/talloc.c