summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-04-08 12:27:05 +0200
committerStefan Metzmacher <metze@samba.org>2011-05-17 09:46:04 +0200
commitf3b855d2ff9576715afe50d75678829c6bc0842d (patch)
tree5804f3f77909c615637a3d581fd9a3da854e9ad9 /lib
parent37b2130ed9612a7334888ecd2fee26b0b45ac271 (diff)
downloadsamba-f3b855d2ff9576715afe50d75678829c6bc0842d.tar.gz
samba-f3b855d2ff9576715afe50d75678829c6bc0842d.tar.bz2
samba-f3b855d2ff9576715afe50d75678829c6bc0842d.zip
talloc: use _talloc_free_internal() in talloc_free_children()
metze
Diffstat (limited to 'lib')
-rw-r--r--lib/talloc/talloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/talloc/talloc.c b/lib/talloc/talloc.c
index 95534052bc..31308589af 100644
--- a/lib/talloc/talloc.c
+++ b/lib/talloc/talloc.c
@@ -1291,7 +1291,7 @@ _PUBLIC_ void talloc_free_children(void *ptr)
struct talloc_chunk *p = talloc_parent_chunk(tc->child->refs);
if (p) new_parent = TC_PTR_FROM_CHUNK(p);
}
- if (unlikely(talloc_free(child) == -1)) {
+ if (unlikely(_talloc_free_internal(child, __location__) == -1)) {
if (new_parent == null_context) {
struct talloc_chunk *p = talloc_parent_chunk(ptr);
if (p) new_parent = TC_PTR_FROM_CHUNK(p);