From: handa Date: Fri, 28 Oct 2005 11:36:53 +0000 (+0000) Subject: (mdatabase__fini): Free dir_info->filename; X-Git-Tag: REL-1-3-0~110 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a39a1547d2bcb1f314180abc9c2f0984a555a915;p=m17n%2Fm17n-lib.git (mdatabase__fini): Free dir_info->filename; --- 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++)