summaryrefslogtreecommitdiff
path: root/libdb/db_xdbm.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdb/db_xdbm.c')
-rw-r--r--libdb/db_xdbm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libdb/db_xdbm.c b/libdb/db_xdbm.c
index 95a7ffc8..14a70e2c 100644
--- a/libdb/db_xdbm.c
+++ b/libdb/db_xdbm.c
@@ -154,7 +154,7 @@ datum man_xdbm_nextkey (MYDBM_FILE dbf, datum key)
return copy_datum (*(datum *) gl_list_node_value (keys, next_node));
}
-void man_xdbm_close (MYDBM_FILE dbf, man_xdbm_raw_close raw_close)
+void man_xdbm_free (MYDBM_FILE dbf, man_xdbm_raw_close raw_close)
{
if (!dbf)
return;
@@ -164,6 +164,7 @@ void man_xdbm_close (MYDBM_FILE dbf, man_xdbm_raw_close raw_close)
free (dbf->name);
raw_close (dbf);
+ free (dbf->mtime);
free (dbf);
}