diff options
author | Volker Lendecke <vlendec@samba.org> | 2005-04-28 14:54:17 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:16:21 -0500 |
commit | a53548d0741421b57b450d3ef62d3ac42c233030 (patch) | |
tree | 0abe94fc593584cbd61f516a33d8e861207b8145 /source4/lib/talloc/talloc_guide.txt | |
parent | c23d22e4f114156f5ec2cff050bafe47660182a7 (diff) | |
download | samba-a53548d0741421b57b450d3ef62d3ac42c233030.tar.gz samba-a53548d0741421b57b450d3ef62d3ac42c233030.tar.bz2 samba-a53548d0741421b57b450d3ef62d3ac42c233030.zip |
r6513: Commit talloc_free_children.
Volker
(This used to be commit 9fa26d2c971a7baee64d8938e31909cac80f0e5a)
Diffstat (limited to 'source4/lib/talloc/talloc_guide.txt')
-rw-r--r-- | source4/lib/talloc/talloc_guide.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source4/lib/talloc/talloc_guide.txt b/source4/lib/talloc/talloc_guide.txt index 7d6dfa5cb2..55349ec05b 100644 --- a/source4/lib/talloc/talloc_guide.txt +++ b/source4/lib/talloc/talloc_guide.txt @@ -106,6 +106,14 @@ talloc_free() operates recursively on its children. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- +int talloc_free_children(void *ptr); + +The talloc_free_children() walks along the list of all children of a +talloc context and talloc_free()s only the children, not the context +itself. + + +=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- void *talloc_reference(const void *context, const void *ptr); The talloc_reference() function makes "context" an additional parent |