projects
/
freeradius.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rbtree shouldn't be allocated from inst
[freeradius.git]
/
src
/
modules
/
rlm_securid
/
rlm_securid.c
diff --git
a/src/modules/rlm_securid/rlm_securid.c
b/src/modules/rlm_securid/rlm_securid.c
index
81a39b5
..
79a81b1
100644
(file)
--- a/
src/modules/rlm_securid/rlm_securid.c
+++ b/
src/modules/rlm_securid/rlm_securid.c
@@
-436,7
+436,7
@@
static int mod_instantiate(UNUSED CONF_SECTION *conf, void *instance)
* Lookup sessions in the tree. We don't free them in
* the tree, as that's taken care of elsewhere...
*/
* Lookup sessions in the tree. We don't free them in
* the tree, as that's taken care of elsewhere...
*/
- inst->session_tree = rbtree_create(
inst
, securid_session_cmp, NULL, 0);
+ inst->session_tree = rbtree_create(
NULL
, securid_session_cmp, NULL, 0);
if (!inst->session_tree) {
ERROR("rlm_securid: Cannot initialize session tree");
return -1;
if (!inst->session_tree) {
ERROR("rlm_securid: Cannot initialize session tree");
return -1;