From: Mike Gorse Date: Tue, 9 Jul 2013 17:45:20 +0000 (-0500) Subject: Fix another crash when we're initialized/shut down repeatedly X-Git-Tag: AT_SPI2_ATK_2_12_0~26 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fat-spi2-atk.git;a=commitdiff_plain;h=c60babbd8746b81ea8a6b9b3702a4a36cdfc27bf Fix another crash when we're initialized/shut down repeatedly --- 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)