projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb3e529
)
Free the pointer, not the data it points to
author
Alan T. DeKok
<aland@freeradius.org>
Thu, 29 Oct 2015 16:33:21 +0000
(12:33 -0400)
committer
Sam Hartman
<hartmans@debian.org>
Mon, 16 Nov 2015 15:18:16 +0000
(10:18 -0500)
src/modules/rlm_realm/rlm_realm.c
patch
|
blob
|
history
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