From e05d0748e3c664f84cb10a32d9d79862dab8644a Mon Sep 17 00:00:00 2001 From: handa Date: Wed, 28 Mar 2007 08:10:10 +0000 Subject: [PATCH] (get_candidate_list): Avoid unnecessary unref. --- src/input.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/input.c b/src/input.c index c2a52a1..7b69f6e 100644 --- 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) -- 1.7.10.4