talloc: Make explicit free behave the same as implicit free
authorSam Liddicott <sam@liddicott.com>
Fri, 10 Jul 2009 10:45:02 +0000 (11:45 +0100)
committerStefan Metzmacher <metze@samba.org>
Tue, 14 Jul 2009 09:24:18 +0000 (11:24 +0200)
commitf5304d1ff3dd75c0b635ebda7308f3b3135db7c2
tree2f5dddb80759d6b77e8279522d1e34fdfb5cd786
parent484acaffc583572368e5952d201af069c58f5a1b
talloc: Make explicit free behave the same as implicit free

If a referenced allocation is explicitly freed the new owner
should be the same as if the same allocation is implicitly freed
(e.g. because it's owner was freed).

Signed-off-by: Sam Liddicott <sam@liddicott.com>
lib/talloc/testsuite.c