[at-spi2-atk] Add NULL check to fix crash when receiving a dbus reply after cleanup
- From: Mike Gorse <mgorse src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [at-spi2-atk] Add NULL check to fix crash when receiving a dbus reply after cleanup
- Date: Wed, 10 Apr 2013 17:31:36 +0000 (UTC)
commit 5de2b2bc9c83045a6870e13cd20bc3c2c0a1121f
Author: Mike Gorse <mgorse suse com>
Date: Wed Apr 10 12:40:47 2013 -0500
Add NULL check to fix crash when receiving a dbus reply after cleanup
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)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]