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
(from parent 1:
a50504d
)
Avoid dereferencing a null message
author
Mike Gorse
<mgorse@novell.com>
Mon, 19 Sep 2011 20:43:42 +0000
(15:43 -0500)
committer
Mike Gorse
<mgorse@novell.com>
Mon, 19 Sep 2011 20:43:42 +0000
(15:43 -0500)
atspi/atspi-event-listener.c
patch
|
blob
|
history
diff --git
a/atspi/atspi-event-listener.c
b/atspi/atspi-event-listener.c
index
f0a4ad8
..
83c9ae0
100644
(file)
--- a/
atspi/atspi-event-listener.c
+++ b/
atspi/atspi-event-listener.c
@@
-693,7
+693,8
@@
atspi_event_listener_deregister_from_callback (AtspiEventListenerCB callback,
return FALSE;
dbus_message_append_args (message, DBUS_TYPE_STRING, &event_type, DBUS_TYPE_INVALID);
reply = _atspi_dbus_send_with_reply_and_block (message, error);
- dbus_message_unref (reply);
+ if (reply)
+ dbus_message_unref (reply);
listener_entry_free (e);
}