From bd6bf75723b3aec5d447e64c0ac98adbda7819d8 Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Fri, 4 Mar 2011 12:51:42 +0100 Subject: Do free the config object. --- lib/conf.c | 1 + 1 file changed, 1 insertion(+) 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; } -- cgit v1.1