diff options
author | venaas <venaas> | 2008-06-04 12:58:00 +0000 |
---|---|---|
committer | venaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf> | 2008-06-04 12:58:00 +0000 |
commit | cb8a46000ba1f9e8f87f4ec3a0ae38cdae93267c (patch) | |
tree | 48bb0a26c9807a135ad5021a87be245e40e87ab6 /radsecproxy.c | |
parent | 4dcf22643aa8d83cf9fcdfb62cacc19624cde21d (diff) |
fixed a bug with freeing memory when dynamicserver fails
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@282 e88ac4ed-0b26-0410-9574-a7f39faa03bf
Diffstat (limited to 'radsecproxy.c')
-rw-r--r-- | radsecproxy.c | 4 |
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); } |