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:
0b8d959
)
Fix segv in bus_engine_proxy_process_key_event_reply_cb
author
fujiwarat
<takao.fujiwara1@gmail.com>
Thu, 2 Sep 2010 03:58:42 +0000
(12:58 +0900)
committer
Peng Huang
<shawn.p.huang@gmail.com>
Mon, 6 Sep 2010 09:03:09 +0000
(17:03 +0800)
bus/engineproxy.c
patch
|
blob
|
history
diff --git
a/bus/engineproxy.c
b/bus/engineproxy.c
index adda91c9dacc3380b0d7c85b4b5a1912d4275f4c..64dda4fc244b65c183bfc1850b54ac2e5f7b936b 100644
(file)
--- a/
bus/engineproxy.c
+++ b/
bus/engineproxy.c
@@
-564,7
+564,9
@@
bus_engine_proxy_process_key_event_reply_cb (IBusPendingCall *pending,
/* reply timeout */
IBusObject *connection;
connection = (IBusObject *) ibus_proxy_get_connection ((IBusProxy *)call_data->engine);
- ibus_object_destroy (connection);
+ if (connection) {
+ ibus_object_destroy (connection);
+ }
}
g_warning ("%s: %s", error->name, error->message);
ibus_error_free (error);