From a39a1547d2bcb1f314180abc9c2f0984a555a915 Mon Sep 17 00:00:00 2001 From: handa Date: Fri, 28 Oct 2005 11:36:53 +0000 Subject: [PATCH] (mdatabase__fini): Free dir_info->filename; --- src/database.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/database.c b/src/database.c index 63699af..ad02ac5 100644 --- 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++) -- 1.7.10.4