From: Mike Gorse Date: Wed, 10 Apr 2013 17:40:47 +0000 (-0500) Subject: Add NULL check to fix crash when receiving a dbus reply after cleanup X-Git-Tag: AT_SPI2_ATK_2_12_0~36 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5de2b2bc9c83045a6870e13cd20bc3c2c0a1121f;p=platform%2Fcore%2Fuifw%2Fat-spi2-atk.git Add NULL check to fix crash when receiving a dbus reply after cleanup --- diff --git a/atk-adaptor/bridge.c b/atk-adaptor/bridge.c index 9683e18..b016da6 100644 --- a/atk-adaptor/bridge.c +++ b/atk-adaptor/bridge.c @@ -88,6 +88,9 @@ tally_event_reply () { static int replies_received = 0; + if (!spi_global_app_data) + return; + replies_received++; if (replies_received == 3) {