projects
/
m17n
/
m17n-lib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
398685e
)
(mlang__fini): Unref each element of langname_list.
author
handa
<handa>
Wed, 16 May 2007 01:32:39 +0000
(
01:32
+0000)
committer
handa
<handa>
Wed, 16 May 2007 01:32:39 +0000
(
01:32
+0000)
src/language.c
patch
|
blob
|
history
diff --git
a/src/language.c
b/src/language.c
index
230d0cb
..
b416d69
100644
(file)
--- 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);
}