r2641: talloc_p() now produces a named talloc pointer, with the name
authorAndrew Tridgell <tridge@samba.org>
Sun, 26 Sep 2004 01:41:04 +0000 (01:41 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:59:15 +0000 (12:59 -0500)
commitbd86ebe2972af4d424df20db1e422919aa6203d0
treee505b954836408d800dff3543939a907a0ec5909
parent96d33d36a5639e7fc46b14a470ccac674d87c62a
r2641: talloc_p() now produces a named talloc pointer, with the name
auto-derived from the type you are allocating. This is done with
basically zero overhead by relying on the stringify operator in cpp
producing string constants.

the result is that --leak-check nicely names all pointers that come
from talloc_p()
source/include/talloc.h
source/lib/talloc.c