summaryrefslogtreecommitdiff
path: root/lib/talloc
diff options
context:
space:
mode:
authorPavel Březina <pbrezina@redhat.com>2012-04-16 15:04:44 +0200
committerVolker Lendecke <vl@samba.org>2012-04-18 10:27:16 +0200
commit75bcb28a95219b1f7456f1a6dd418c821ca1bb62 (patch)
treeef29cfac539ef0ebd67d2d021ff2e607ffcb3f6c /lib/talloc
parentf8b589b7935bae9f63493a26678219c7b1661114 (diff)
downloadsamba-75bcb28a95219b1f7456f1a6dd418c821ca1bb62.tar.gz
samba-75bcb28a95219b1f7456f1a6dd418c821ca1bb62.tar.bz2
samba-75bcb28a95219b1f7456f1a6dd418c821ca1bb62.zip
Talloc doc: TALLOC_FREE_FILL
Diffstat (limited to 'lib/talloc')
-rw-r--r--lib/talloc/talloc.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/talloc/talloc.h b/lib/talloc/talloc.h
index f8160dbc55..09a2b81768 100644
--- a/lib/talloc/talloc.h
+++ b/lib/talloc/talloc.h
@@ -194,6 +194,11 @@ void *talloc_init(const char *fmt, ...) PRINTF_ATTRIBUTE(1,2);
* talloc_set_log_stderr() for more information on talloc logging
* functions.
*
+ * If <code>TALLOC_FREE_FILL</code> environment variable is set,
+ * the memory occupied by the context is filled with the value of this variable.
+ * The value should be a numeric representation of the character you want to
+ * use.
+ *
* talloc_free() operates recursively on its children.
*
* @param[in] ptr The chunk to be freed.