projects
/
m17n
/
m17n-lib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43522ab
)
(mdatabase__unlock): Be sure to unlink uniq file.
author
handa
<handa>
Wed, 13 Sep 2006 11:50:01 +0000
(11:50 +0000)
committer
handa
<handa>
Wed, 13 Sep 2006 11:50:01 +0000
(11:50 +0000)
src/database.c
patch
|
blob
|
history
diff --git
a/src/database.c
b/src/database.c
index
e8568e4
..
68f788c
100644
(file)
--- 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;
}