summaryrefslogtreecommitdiff
path: root/lib/conf.c
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2011-03-04 12:51:42 +0100
committerLinus Nordberg <linus@nordu.net>2011-03-06 13:53:22 +0100
commitb884a7a9c4b846f8e9f571f50cd9c5d9518e6ca2 (patch)
treeeceff0ffd290055c1da4414dc2fca47785e74aef /lib/conf.c
parent41a69151d5a375f524e2227f87979ff758bf2a62 (diff)
Do free the config object.
Diffstat (limited to 'lib/conf.c')
-rw-r--r--lib/conf.c1
1 files changed, 1 insertions, 0 deletions
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;
}