From: handa Date: Wed, 16 May 2007 01:32:39 +0000 (+0000) Subject: (mlang__fini): Unref each element of langname_list. X-Git-Tag: FLT-base~61 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=1a16dc5de6f1fdd5c6aea0bc21fc81b46c02aff2;p=m17n%2Fm17n-lib.git (mlang__fini): Unref each element of langname_list. --- diff --git a/src/language.c b/src/language.c index 230d0cb..b416d69 100644 --- a/src/language.c +++ b/src/language.c @@ -111,8 +111,12 @@ mlang__init () void mlang__fini (void) { + MPlist *pl; + M17N_OBJECT_UNREF (language_list); M17N_OBJECT_UNREF (script_list); + MPLIST_DO (pl, langname_list) + M17N_OBJECT_UNREF (MPLIST_VAL (pl)); M17N_OBJECT_UNREF (langname_list); }