From 540b6ce1811800c6fbe5856b788a495bcd693c3c Mon Sep 17 00:00:00 2001 From: handa Date: Mon, 7 Nov 2005 13:04:54 +0000 Subject: [PATCH] (filter): Unref ic_info->preceding_text and ic_info->following_text. --- src/input.c | 2 ++ 1 file changed, 2 insertions(+) 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 { -- 1.7.10.4