summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--radsecproxy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/radsecproxy.c b/radsecproxy.c
index 29f1af6..a3641cb 100644
--- a/radsecproxy.c
+++ b/radsecproxy.c
@@ -2411,6 +2411,7 @@ void *clientwr(void *arg) {
}
}
errexit:
+ conf->servers = NULL;
if (server->dynamiclookuparg) {
removeserversubrealms(realms, conf);
freeclsrvconf(conf);
@@ -3246,8 +3247,7 @@ void freeclsrvconf(struct clsrvconf *conf) {
free(conf->rewrite);
if (conf->addrinfo)
freeaddrinfo(conf->addrinfo);
- list_destroy(conf->clients);
- free(conf->servers);
+ /* not touching clients and servers */
free(conf);
}