projects
/
platform
/
upstream
/
at-spi2-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f3aa8b
)
Fix crash fetching error when retrieving a property
author
Mike Gorse
<mgorse@suse.com>
Sat, 17 Mar 2012 17:12:37 +0000
(12:12 -0500)
committer
Mike Gorse
<mgorse@suse.com>
Sat, 17 Mar 2012 17:12:37 +0000
(12:12 -0500)
atspi/atspi-misc.c
patch
|
blob
|
history
diff --git
a/atspi/atspi-misc.c
b/atspi/atspi-misc.c
index e80ec635075b1892e879bc5a16a0efb5b98b393c..26e1f3a1d72e52abc78b0a53c1309e53013c0fa5 100644
(file)
--- a/
atspi/atspi-misc.c
+++ b/
atspi/atspi-misc.c
@@
-1118,8
+1118,8
@@
_atspi_dbus_get_property (gpointer obj, const char *interface, const char *name,
if (dbus_message_get_type (reply) == DBUS_MESSAGE_TYPE_ERROR)
{
- const char *err;
- dbus_message_get_args (
message
, NULL, DBUS_TYPE_STRING, &err, DBUS_TYPE_INVALID);
+ const char *err
= NULL
;
+ dbus_message_get_args (
reply
, NULL, DBUS_TYPE_STRING, &err, DBUS_TYPE_INVALID);
if (err)
g_set_error_literal (error, ATSPI_ERROR, ATSPI_ERROR_IPC, err);
goto done;