Start adding some debugging features to talloc based on Samba's
authorMartin Pool <mbp@samba.org>
Wed, 19 Dec 2001 04:50:10 +0000 (04:50 +0000)
committerMartin Pool <mbp@samba.org>
Wed, 19 Dec 2001 04:50:10 +0000 (04:50 +0000)
commit25b97a743573b8c5e0ac886e4bfab581c11b3714
tree534877752134559b969fa559c71630861c9942f5
parente3390669958f01672f5638ebf975e8bd4fd67665
Start adding some debugging features to talloc based on Samba's
ancient mem_man.c:

Each TALLOC_CTX now has a field to store its purpose, to aid in
tracking down memory bloat.  A new call talloc_init_named() should be
used instead of talloc_init() so that this is set.

Added talloc_vasprintf to be called by varargs functions.
source/include/talloc.h
source/lib/talloc.c