diff options
author | Mike Gorse <mgorse@suse.com> | 2013-04-10 12:40:47 -0500 |
---|---|---|
committer | Mike Gorse <mgorse@suse.com> | 2013-04-10 12:40:47 -0500 |
commit | 5de2b2bc9c83045a6870e13cd20bc3c2c0a1121f (patch) | |
tree | 5d2bc39afa82a241baf76061e2ad1c20121be035 | |
parent | cbb481387d3a0cce0690c03a3049ecaa7320545f (diff) | |
download | at-spi2-atk-5de2b2bc9c83045a6870e13cd20bc3c2c0a1121f.tar.gz |
Add NULL check to fix crash when receiving a dbus reply after cleanup
-rw-r--r-- | atk-adaptor/bridge.c | 3 |
1 files changed, 3 insertions, 0 deletions
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) { |