r2791: got rid of talloc_unreference() and instead created talloc_unlink(),
authorAndrew Tridgell <tridge@samba.org>
Sun, 3 Oct 2004 00:04:30 +0000 (00:04 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:59:34 +0000 (12:59 -0500)
commit15b9736ed30d8e947dbe2513dd9cf27d5b3761af
tree1b5ab1fbdf06e67b67eb8452eac970aac80fe4ad
parenta248164de5f89cef824f5a1f7d8618fbe81ae0c4
r2791: got rid of talloc_unreference() and instead created talloc_unlink(),
which is much clearer and simpler to use. It removes a specific parent
from a pointer, no matter whether that parent is a "reference" or a
direct parent. This gives complete control over the free process.
(This used to be commit 6c563887f1b9b8c842309a523e88b6f2a32db10f)
source4/include/talloc.h
source4/lib/talloc.c
source4/torture/local/talloc.c
talloc_guide.txt