summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gorse <mgorse@suse.com>2013-07-09 12:45:20 -0500
committerMike Gorse <mgorse@suse.com>2013-07-09 12:45:20 -0500
commitc60babbd8746b81ea8a6b9b3702a4a36cdfc27bf (patch)
treeacd54745231644445a2705b9f7faec6dfb78787a
parent4a93eda3efb70c854cbccc3beba116c0ba9ba9cd (diff)
downloadat-spi2-atk-c60babbd8746b81ea8a6b9b3702a4a36cdfc27bf.tar.gz
Fix another crash when we're initialized/shut down repeatedly
-rw-r--r--atk-adaptor/bridge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/atk-adaptor/bridge.c b/atk-adaptor/bridge.c
index e59c834..5bcd630 100644
--- a/atk-adaptor/bridge.c
+++ b/atk-adaptor/bridge.c
@@ -106,7 +106,7 @@ get_events_reply (DBusPendingCall *pending, void *user_data)
DBusMessage *reply = dbus_pending_call_steal_reply (pending);
DBusMessageIter iter, iter_array, iter_struct;
- if (!reply)
+ if (!reply || !spi_global_app_data)
goto done;
if (strcmp (dbus_message_get_signature (reply), "a(ss)") != 0)