projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e7337d
)
Alloc from the passed context
author
Arran Cudbard-Bell
<a.cudbardb@freeradius.org>
Wed, 18 Jun 2014 11:39:14 +0000
(12:39 +0100)
committer
Arran Cudbard-Bell
<a.cudbardb@freeradius.org>
Wed, 18 Jun 2014 11:39:14 +0000
(12:39 +0100)
src/lib/rbtree.c
patch
|
blob
|
history
diff --git
a/src/lib/rbtree.c
b/src/lib/rbtree.c
index
5e6de50
..
27d2f2b
100644
(file)
--- a/
src/lib/rbtree.c
+++ b/
src/lib/rbtree.c
@@
-113,7
+113,7
@@
rbtree_t *rbtree_create(TALLOC_CTX *ctx, rb_comparator_t compare, rb_free_t node
if (!compare) return NULL;
- tree = talloc_zero(
NULL
, rbtree_t);
+ tree = talloc_zero(
ctx
, rbtree_t);
if (!tree) return NULL;
#ifndef NDEBUG