From: handa Date: Mon, 7 Nov 2005 13:04:54 +0000 (+0000) Subject: (filter): Unref ic_info->preceding_text and X-Git-Tag: REL-1-3-0~88 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=540b6ce1811800c6fbe5856b788a495bcd693c3c;p=m17n%2Fm17n-lib.git (filter): Unref ic_info->preceding_text and ic_info->following_text. --- diff --git a/src/input.c b/src/input.c index 96726ba..1e47e03 100644 --- a/src/input.c +++ b/src/input.c @@ -2556,6 +2556,8 @@ filter (MInputContext *ic, MSymbol key, void *arg) } mtext_reset (ic->produced); ic->status_changed = ic->preedit_changed = ic->candidates_changed = 0; + M17N_OBJECT_UNREF (ic_info->preceding_text); + M17N_OBJECT_UNREF (ic_info->following_text); MLIST_APPEND1 (ic_info, keys, key, MERROR_IM); ic_info->key_unhandled = 0; do {