Register_reply could access invalid memory if it is called after
atk_bridge_adaptor_cleanup() has been called.
This code should probably be refactored to make the instance act as a
GObject, but committing this for now to fix the crash.
https://bugzilla.gnome.org/show_bug.cgi?id=699554
reply = dbus_pending_call_steal_reply (pending);
dbus_pending_call_unref (pending);
reply = dbus_pending_call_steal_reply (pending);
dbus_pending_call_unref (pending);
+
+ if (!spi_global_app_data)
+ {
+ if (reply)
+ dbus_message_unref (reply);
+ return;
+ }
+
if (reply)
{
gchar *app_name, *obj_path;
if (reply)
{
gchar *app_name, *obj_path;