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:
223adaf
)
(mdatabase__fini): Free dir_info->filename;
author
handa
<handa>
Fri, 28 Oct 2005 11:36:53 +0000
(11:36 +0000)
committer
handa
<handa>
Fri, 28 Oct 2005 11:36:53 +0000
(11:36 +0000)
src/database.c
patch
|
blob
|
history
diff --git
a/src/database.c
b/src/database.c
index
63699af
..
ad02ac5
100644
(file)
--- a/
src/database.c
+++ b/
src/database.c
@@
-741,7
+741,12
@@
mdatabase__fini (void)
MPlist *plist;
MPLIST_DO (plist, mdatabase__dir_list)
- free (MPLIST_VAL (plist));
+ {
+ MDatabaseInfo *dir_info = MPLIST_VAL (plist);
+
+ free (dir_info->filename);
+ free (dir_info);
+ }
M17N_OBJECT_UNREF (mdatabase__dir_list);
for (i = 0; i < mdb_list.used; i++)