summaryrefslogtreecommitdiff
path: root/source4/heimdal/lib/hdb/dbinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/heimdal/lib/hdb/dbinfo.c')
-rw-r--r--source4/heimdal/lib/hdb/dbinfo.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source4/heimdal/lib/hdb/dbinfo.c b/source4/heimdal/lib/hdb/dbinfo.c
index 2121577bb1..7e2961c614 100644
--- a/source4/heimdal/lib/hdb/dbinfo.c
+++ b/source4/heimdal/lib/hdb/dbinfo.c
@@ -228,10 +228,12 @@ hdb_free_dbinfo(krb5_context context, struct hdb_dbinfo **dbp)
for(di = *dbp; di != NULL; di = ndi) {
ndi = di->next;
+ free (di->label);
free (di->realm);
free (di->dbname);
- if (di->mkey_file)
- free (di->mkey_file);
+ free (di->mkey_file);
+ free (di->acl_file);
+ free (di->log_file);
free(di);
}
*dbp = NULL;