diff options
author | Linus Nordberg <linus@nordu.net> | 2017-07-30 21:01:36 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordu.net> | 2017-07-30 21:01:36 +0200 |
commit | 1afa7394f74134285baea24c23ef858b4ab78eff (patch) | |
tree | 7c1c274fceab249326b75566fba7e067436da7d7 /radsecproxy.c | |
parent | e15bf1f6f0097c1f4bd71b508aa505efcb1bf543 (diff) |
Revert ed6f9b47.
Going to errexit doesn't free resconf as that commit claims. It does
free conf though, which is good.
coverity: 1449524
Diffstat (limited to 'radsecproxy.c')
-rw-r--r-- | radsecproxy.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/radsecproxy.c b/radsecproxy.c index 0b3f52e..45508a8 100644 --- a/radsecproxy.c +++ b/radsecproxy.c @@ -3114,8 +3114,7 @@ int confserver_cb(struct gconffile **cf, void *arg, char *block, char *opt, char if (resconf || !conf->dynamiclookupcommand) { if (!compileserverconfig(conf, block)) - return 0; /* Don't goto errexit and free resconf -- it's - * not ours to free. */ + goto errexit; } if (!conf->secret) { |