Parent: 6d14672eb38029d0ea79b7382837d71ba56dbcee
Author: Arman Uguray <armansito@chromium.org>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2015-02-22 13:02:32
Tree: fd52db3f2b6cbc5232046becf32c6b1381071071
gdbus: Don't refresh objects/props if disconnected If g_dbus_client_set_proxy_handlers gets called from within a proxy_removed callback, the code may end up refreshing the proxy's properties and incorrectly access the client's proxy_list as it gets freed. This patch fixes this, so that get_managed_objects does nothing if it gets called during a service disconnect.
Diffstat
| M | gdbus/client.c | | | 13 | ++++++++- - - - - |
1 files changed, 8 insertions(+), 5 deletions(-)