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:
91ace05
)
(get_candidate_list): Avoid unnecessary unref.
author
handa
<handa>
Wed, 28 Mar 2007 08:10:10 +0000
(08:10 +0000)
committer
handa
<handa>
Wed, 28 Mar 2007 08:10:10 +0000
(08:10 +0000)
src/input.c
patch
|
blob
|
history
diff --git
a/src/input.c
b/src/input.c
index
c2a52a1
..
7b69f6e
100644
(file)
--- a/
src/input.c
+++ b/
src/input.c
@@
-2752,7
+2752,8
@@
get_candidate_list (MInputContextInfo *ic_info, MPlist *args)
next = MPLIST_NEXT (next);
}
}
- M17N_OBJECT_UNREF (plist);
+ if (charset)
+ M17N_OBJECT_UNREF (plist);
plist = mplist ();
len = mtext_nchars (mt);
if (len <= column)