From: Linus Nordberg Date: Fri, 4 Mar 2011 11:51:42 +0000 (+0100) Subject: Do free the config object. X-Git-Tag: libradsec-0.0.1~30 X-Git-Url: http://www.project-moonshot.org/gitweb/?a=commitdiff_plain;h=bd6bf75723b3aec5d447e64c0ac98adbda7819d8;hp=b30717125714e989f8aa1528e19940a4ddb4dc9a;p=radsecproxy.git Do free the config object. --- diff --git a/lib/conf.c b/lib/conf.c index 5c1c51b..adbda25 100644 --- a/lib/conf.c +++ b/lib/conf.c @@ -118,6 +118,7 @@ rs_context_read_config(struct rs_context *ctx, const char *config_file) p->secret = strdup (cfg_getstr (cfg_server, "secret")); } } + cfg_free (cfg); return RSE_OK; }