summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndrej Kos <okos@redhat.com>2013-05-02 17:32:12 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-05-03 12:21:39 +0200
commitfcc79e09b7c1777bef90874956bd89ac9c3b5832 (patch)
tree30a2622771a921b71f7bde843dc7fda06fe535ac
parent25255e4d0e1517a5d443e8fee22e91862e255702 (diff)
downloadsssd-fcc79e09b7c1777bef90874956bd89ac9c3b5832.tar.gz
sssd-fcc79e09b7c1777bef90874956bd89ac9c3b5832.tar.bz2
sssd-fcc79e09b7c1777bef90874956bd89ac9c3b5832.zip
CONFDB: prevent double free
https://fedorahosted.org/sssd/ticket/1901 CID: 11634
-rw-r--r--src/util/sss_ini.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/util/sss_ini.c b/src/util/sss_ini.c
index 32e06781..1af5d2ae 100644
--- a/src/util/sss_ini.c
+++ b/src/util/sss_ini.c
@@ -255,7 +255,6 @@ int sss_ini_get_config(struct sss_ini_initdata *init_data,
&init_data->sssd_config,
INI_STOP_ON_ANY,
&init_data->error_list);
- close(init_data->file);
if (ret != EOK) {
DEBUG(SSSDBG_FATAL_FAILURE,