projects
/
platform
/
upstream
/
at-spi2-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f63b4e
)
ref_accessible_desktop: don't unref reply until we're finished with it
author
Mike Gorse
<mgorse@suse.com>
Sun, 22 May 2016 12:15:21 +0000
(07:15 -0500)
committer
Mike Gorse
<mgorse@suse.com>
Sun, 22 May 2016 12:17:42 +0000
(07:17 -0500)
Oops!
atspi/atspi-misc.c
patch
|
blob
|
history
diff --git
a/atspi/atspi-misc.c
b/atspi/atspi-misc.c
index
83d3f96
..
1ec9be1
100644
(file)
--- a/
atspi/atspi-misc.c
+++ b/
atspi/atspi-misc.c
@@
-606,13
+606,14
@@
ref_accessible_desktop (AtspiApplication *app)
get_reference_from_iter (&iter_array, &app_name, &path);
add_app_to_desktop (desktop, app_name);
}
- dbus_message_unref (reply);
/* Record the alternate name as an alias for org.a11y.atspi.Registry */
bus_name_dup = g_strdup (dbus_message_get_sender (reply));
if (bus_name_dup)
g_hash_table_insert (app_hash, bus_name_dup, app);
+ dbus_message_unref (reply);
+
return g_object_ref (desktop);
}