From 1a16dc5de6f1fdd5c6aea0bc21fc81b46c02aff2 Mon Sep 17 00:00:00 2001 From: handa Date: Wed, 16 May 2007 01:32:39 +0000 Subject: [PATCH] (mlang__fini): Unref each element of langname_list. --- src/language.c | 4 ++++ 1 file changed, 4 insertions(+) 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); } -- 1.7.10.4