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:
7174a7b
)
(filter): Unref ic_info->preceding_text and
author
handa
<handa>
Mon, 7 Nov 2005 13:04:54 +0000
(13:04 +0000)
committer
handa
<handa>
Mon, 7 Nov 2005 13:04:54 +0000
(13:04 +0000)
ic_info->following_text.
src/input.c
patch
|
blob
|
history
diff --git
a/src/input.c
b/src/input.c
index
96726ba
..
1e47e03
100644
(file)
--- 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 {