Talloc doc: TALLOC_FREE_FILL
authorPavel Březina <pbrezina@redhat.com>
Mon, 16 Apr 2012 13:04:44 +0000 (15:04 +0200)
committerVolker Lendecke <vl@samba.org>
Wed, 18 Apr 2012 08:27:16 +0000 (10:27 +0200)
lib/talloc/talloc.h

index f8160dbc5596f1f8d6a3e0bddcb15f4c0c2b1715..09a2b81768e5170e03611b6fbb5efa9cceb61547 100644 (file)
@@ -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.