From 1335ec42794cf5007bdab487423aef15358637a2 Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Mon, 26 Aug 2013 15:32:13 +0200 Subject: Don't free struct clsrvconf members rewritein and rewriteout. They are pointers into static struct hash *rewriteconfs and should live forever. Patch by Fabian Mauchle. --- radsecproxy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'radsecproxy.c') diff --git a/radsecproxy.c b/radsecproxy.c index 2c001e5..ca5839a 100644 --- a/radsecproxy.c +++ b/radsecproxy.c @@ -2633,8 +2633,8 @@ void freeclsrvconf(struct clsrvconf *conf) { free(conf->rewriteusername); } free(conf->dynamiclookupcommand); - free(conf->rewritein); - free(conf->rewriteout); + conf->rewritein=NULL; + conf->rewriteout=NULL; if (conf->hostports) freehostports(conf->hostports); if (conf->lock) { -- cgit v1.1