From 05b7a69e35579f45e5316a8c21f6abb60e54309f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alejandro=20Pi=C3=B1eiro?= Date: Tue, 27 Aug 2013 16:00:00 +0200 Subject: [PATCH] accessible: remove an unneeded unref That unref is done inside an if that starts with a !parent condition, so unrefing it doesn't makes sense https://bugzilla.gnome.org/show_bug.cgi?id=706893 --- atspi/atspi-accessible.c | 1 - 1 file changed, 1 deletion(-) diff --git a/atspi/atspi-accessible.c b/atspi/atspi-accessible.c index 0fff4fb..95ac311 100644 --- a/atspi/atspi-accessible.c +++ b/atspi/atspi-accessible.c @@ -672,7 +672,6 @@ atspi_accessible_get_application (AtspiAccessible *obj, GError **error) if (root) { g_object_unref (obj); - g_object_unref (parent); if (atspi_accessible_get_role (root, NULL) == ATSPI_ROLE_DESKTOP_FRAME) { g_object_unref (root); -- 2.7.4