summaryrefslogtreecommitdiff
path: root/server/monitor
diff options
context:
space:
mode:
authorDmitri Pal <dpal@redhat.com>2009-07-02 19:22:33 -0400
committerStephen Gallagher <sgallagh@redhat.com>2009-07-02 20:02:34 -0400
commitaf6b9f749f3f9ade3727bb0b43baffbdbd26cdcb (patch)
tree333b6d40428e45c62fbb7d111939363a7786f853 /server/monitor
parent09c4b073ca0bdf8d208cbcc7e84a7d33629213d2 (diff)
downloadsssd-af6b9f749f3f9ade3727bb0b43baffbdbd26cdcb.tar.gz
sssd-af6b9f749f3f9ade3727bb0b43baffbdbd26cdcb.tar.bz2
sssd-af6b9f749f3f9ade3727bb0b43baffbdbd26cdcb.zip
Adding wrappers to free data in INI API.
See ticket #37 in sssd track.
Diffstat (limited to 'server/monitor')
-rw-r--r--server/monitor/monitor.c6
1 files changed, 2 insertions, 4 deletions
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;
}
-
-