From ca360d4cdcbca4222ddfcd6cf8b247a9b2dda969 Mon Sep 17 00:00:00 2001 From: handa Date: Wed, 13 Sep 2006 11:50:01 +0000 Subject: [PATCH] (mdatabase__unlock): Be sure to unlink uniq file. --- src/database.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/database.c b/src/database.c index e8568e4..68f788c 100644 --- a/src/database.c +++ b/src/database.c @@ -1103,7 +1103,10 @@ mdatabase__unlock (MDatabase *mdb) free (db_info->lock_file); db_info->lock_file = NULL; if (db_info->uniq_file) - free (db_info->uniq_file); + { + unlink (db_info->uniq_file); + free (db_info->uniq_file); + } return 0; } -- 1.7.10.4