projects
/
freeradius.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Free the pointer, not the data it points to
[freeradius.git]
/
src
/
modules
/
rlm_realm
/
rlm_realm.c
diff --git
a/src/modules/rlm_realm/rlm_realm.c
b/src/modules/rlm_realm/rlm_realm.c
index
3498095
..
b2cc178
100644
(file)
--- a/
src/modules/rlm_realm/rlm_realm.c
+++ b/
src/modules/rlm_realm/rlm_realm.c
@@
-377,7
+377,7
@@
static int mod_instantiate(CONF_SECTION *conf, void *instance)
if (strcmp(inst->trust_router, "none") != 0) {
if (!tr_init()) return -1;
} else {
- rad_const_free(
&
inst->trust_router);
+ rad_const_free(inst->trust_router);
}
#endif