diff options
author | fujiwarat <takao.fujiwara1@gmail.com> | 2011-03-11 15:53:53 +0900 |
---|---|---|
committer | Peng Huang <shawn.p.huang@gmail.com> | 2011-03-11 10:44:04 -0500 |
commit | 26084822d7ac9395b4553a7852a78d6d0d4bed0f (patch) | |
tree | 8758693bcbcb0c0f1e2fcee1bd2518d46cbf29ef /client | |
parent | 5617ef1553bccb4894ef2e83f2021fda7ca6b815 (diff) |
Fix preedit_string = NULL in ibus-x11 _free_ic()
Diffstat (limited to 'client')
-rw-r--r-- | client/x11/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/client/x11/main.c b/client/x11/main.c index a2967cc3..16104de3 100644 --- a/client/x11/main.c +++ b/client/x11/main.c @@ -526,6 +526,7 @@ _free_ic (gpointer data, gpointer user_data) g_return_if_fail (x11ic != NULL); g_free (x11ic->preedit_string); + x11ic->preedit_string = NULL; if (x11ic->preedit_attrs) { g_object_unref (x11ic->preedit_attrs); |