summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/confdb/confdb_setup.c6
-rw-r--r--server/monitor/monitor.c6
2 files changed, 5 insertions, 7 deletions
diff --git a/server/confdb/confdb_setup.c b/server/confdb/confdb_setup.c
index d5b185fd..00bba7f1 100644
--- a/server/confdb/confdb_setup.c
+++ b/server/confdb/confdb_setup.c
@@ -322,13 +322,13 @@ int confdb_init_db(const char *config_file, struct confdb_ctx *cdb)
DEBUG(0, ("Parse error reading configuration file [%s]\n",
config_file));
print_file_parsing_errors(stderr, error_list);
- destroy_collection(error_list);
- destroy_collection(sssd_config);
+ free_ini_config_errors(error_list);
+ free_ini_config(sssd_config);
goto done;
}
ret = confdb_create_ldif(tmp_ctx, sssd_config, &config_ldif);
- destroy_collection(sssd_config);
+ free_ini_config(sssd_config);
if (ret != EOK) {
DEBUG(0, ("Could not create LDIF for confdb\n"));
goto done;
diff --git a/server/monitor/monitor.c b/server/monitor/monitor.c
index e4898dd5..19161e2e 100644
--- a/server/monitor/monitor.c
+++ b/server/monitor/monitor.c
@@ -1154,8 +1154,8 @@ int read_config_file(const char *config_file)
print_file_parsing_errors(stderr, error_list);
}
- destroy_collection(error_list);
- destroy_collection(sssd_config);
+ free_ini_config_errors(error_list);
+ free_ini_config(sssd_config);
return ret;
}
@@ -2130,5 +2130,3 @@ int main(int argc, const char *argv[])
return 0;
}
-
-