projects
/
platform
/
upstream
/
ibus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5020e3a
)
Fix segfault when delete an im client object.
author
Huang Peng
<shawn.p.huang@gmail.com>
Tue, 3 Jun 2008 05:48:32 +0000
(13:48 +0800)
committer
Huang Peng
<shawn.p.huang@gmail.com>
Tue, 3 Jun 2008 05:48:32 +0000
(13:48 +0800)
gtk2/gikimclient.c
patch
|
blob
|
history
diff --git
a/gtk2/gikimclient.c
b/gtk2/gikimclient.c
index
5e55e5b
..
c6b9c73
100644
(file)
--- a/
gtk2/gikimclient.c
+++ b/
gtk2/gikimclient.c
@@
-462,17
+462,10
@@
gik_im_client_finalize (GObject *obj)
g_assert (client == _client);
#ifdef HAVE_INOTIFY
- g_io_channel_unref (priv->inotify_channel);
g_source_remove (priv->inotify_source);
+ g_io_channel_unref (priv->inotify_channel);
#endif
- if (priv->preedit_string) {
- g_free (priv->preedit_string);
- }
-
- if (priv->preedit_attrs) {
- pango_attr_list_unref (priv->preedit_attrs);
- }
#if USE_DBUS_SESSION_BUS
if (priv->dbus) {
dbus_connection_unref (priv->dbus);