From 96d54e66bfc2817adaf38db30a24aa8aa5abedac Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Tue, 22 Apr 2014 20:24:10 +0200 Subject: [PATCH] sysdbd: Free up the config item returned from the parser as well. oconfig_free() does not do that because it does not correctly keep track of what the top-level config item is and it cannot free items which are the child of another. --- src/tools/sysdbd/configfile.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tools/sysdbd/configfile.c b/src/tools/sysdbd/configfile.c index af73353..25c9404 100644 --- a/src/tools/sysdbd/configfile.c +++ b/src/tools/sysdbd/configfile.c @@ -299,6 +299,7 @@ daemon_parse_config(const char *filename) } oconfig_free(ci); + free(ci); return retval; } /* daemon_parse_config */ -- 2.30.2