From a61f5390f925972b48807056e4fda29c74f2a4a8 Mon Sep 17 00:00:00 2001 From: handa Date: Thu, 17 May 2007 11:05:36 +0000 Subject: [PATCH] (mlang__fini): Fix previous change. --- src/language.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/language.c b/src/language.c index b416d69..359d0bd 100644 --- a/src/language.c +++ b/src/language.c @@ -115,8 +115,9 @@ mlang__fini (void) M17N_OBJECT_UNREF (language_list); M17N_OBJECT_UNREF (script_list); - MPLIST_DO (pl, langname_list) - M17N_OBJECT_UNREF (MPLIST_VAL (pl)); + if (langname_list) + MPLIST_DO (pl, langname_list) + M17N_OBJECT_UNREF (MPLIST_VAL (pl)); M17N_OBJECT_UNREF (langname_list); } -- 1.7.10.4