Removed unused unref from _atspi_dbus_get_property 18/254818/2 accepted/tizen/unified/20210323.122738 submit/tizen/20210323.004021
authorBartlomiej Grzelewski <b.grzelewski@samsung.com>
Mon, 8 Mar 2021 09:20:39 +0000 (10:20 +0100)
committerBartlomiej Grzelewski <b.grzelewski@samsung.com>
Wed, 10 Mar 2021 10:51:18 +0000 (11:51 +0100)
Newest at-spi2-core does not contain path that is passing
pointer to accessiblity object as "data" paramter.

There is no point in releasing data under this pointer.

Change-Id: I729db3a0aaef274657121084affb33a69fd8c02d

atspi/atspi-misc.c

index f60d834..be8030e 100644 (file)
@@ -1336,7 +1336,6 @@ _atspi_dbus_get_property (gpointer obj, const char *interface, const char *name,
   }
   if (!strcmp (type, "(so)"))
   {
-    g_object_unref(*(AtspiAccessible**)data);
     *((AtspiAccessible **)data) = _atspi_dbus_return_accessible_from_iter (&iter_variant);
   }
   else