atspi_application_dispose: clear root accessible's ref to the app
authorMike Gorse <mgorse@suse.com>
Wed, 25 Jan 2017 00:10:52 +0000 (18:10 -0600)
committerMike Gorse <mgorse@suse.com>
Wed, 25 Jan 2017 00:10:52 +0000 (18:10 -0600)
Hoping that this might fix https://bugzilla.gnome.org/show_bug.cgi?id=767074

atspi/atspi-application.c

index 65cabdc..f7dd225 100644 (file)
@@ -58,6 +58,7 @@ atspi_application_dispose (GObject *object)
 
   if (application->root)
   {
+    g_clear_object (&application->root->parent.app);
     g_object_unref (application->root);
     application->root = NULL;
   }