From 0f98d539e2edc8f1d57271fb20051189699222a7 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 24 Aug 2009 16:33:00 +1000 Subject: note the semantic change in talloc_free from 2.0 --- lib/talloc/talloc.3.xml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'lib/talloc/talloc.3.xml') diff --git a/lib/talloc/talloc.3.xml b/lib/talloc/talloc.3.xml index 18c3788f76..8d9e08226d 100644 --- a/lib/talloc/talloc.3.xml +++ b/lib/talloc/talloc.3.xml @@ -136,10 +136,11 @@ talloc_free() operates recursively on its children. - As a special case, talloc_free() is refused on pointers that - have more than one parent, as talloc would have no way of knowing - which parent should be removed. To free a pointer that has more than - one parent please use talloc_unlink(). + From the 2.0 version of talloc, as a special case, + talloc_free() is refused on pointers that have more than one + parent, as talloc would have no way of knowing which parent + should be removed. To free a pointer that has more than one + parent please use talloc_unlink(). To help you find problems in your code caused by this behaviour, if -- cgit