git.samba.org
/
kai
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fde0d0d
)
lib: talloc: As we have a struct talloc_chunk * in _talloc_free_children_internal...
author
Andrew Bartlett
<abartlet@samba.org>
Wed, 29 Jun 2016 23:48:42 +0000
(16:48 -0700)
committer
Jeremy Allison
<jra@samba.org>
Sun, 3 Jul 2016 12:26:17 +0000
(14:26 +0200)
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
lib/talloc/talloc.c
patch
|
blob
|
history
diff --git
a/lib/talloc/talloc.c
b/lib/talloc/talloc.c
index cd0ec3d09e9eb0b2ac696d5e9342479dc8ae4e7a..09318e9b5aeb1e84f0f233191cf76826680b5d64 100644
(file)
--- a/
lib/talloc/talloc.c
+++ b/
lib/talloc/talloc.c
@@
-1567,7
+1567,7
@@
static inline void _tc_free_children_internal(struct talloc_chunk *tc,
struct talloc_chunk *p = talloc_parent_chunk(tc->child->refs);
if (p) new_parent = TC_PTR_FROM_CHUNK(p);
}
- if (unlikely(_t
alloc_free_internal(
child, location) == -1)) {
+ if (unlikely(_t
c_free_internal(tc->
child, location) == -1)) {
if (talloc_parent_chunk(child) != tc) {
/*
* Destructor already reparented this child.