[at-spi2-core] accessible: remove an unneeded unref
- From: Alejandro Piñeiro Iglesias <apinheiro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [at-spi2-core] accessible: remove an unneeded unref
- Date: Tue, 27 Aug 2013 16:29:53 +0000 (UTC)
commit 05b7a69e35579f45e5316a8c21f6abb60e54309f
Author: Alejandro Piñeiro <apinheiro igalia com>
Date: Tue Aug 27 16:00:00 2013 +0200
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 files changed, 0 insertions(+), 1 deletions(-)
---
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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]