diff options
| author | Michael Biebl <biebl@debian.org> | 2019-09-06 09:26:09 +0200 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2019-09-06 09:26:09 +0200 |
| commit | 473dd863356491d7b984baef9c72e886c774a451 (patch) | |
| tree | f7863ed06a67003b8a362e1146a1dff22ea16c55 /src/devices/bluetooth | |
| parent | df49315721969c1013256ce92c6a0f825450f814 (diff) | |
| parent | 555dfa331e295a3a687a7cc6870e1349ffed8f26 (diff) | |
Update upstream source from tag 'upstream/1.20.2'
Update to upstream version '1.20.2' with Debian dir 0356038b3aea3f0577988e0b1019b86c657592cd
Diffstat (limited to 'src/devices/bluetooth')
| -rw-r--r-- | src/devices/bluetooth/nm-bluez5-manager.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/devices/bluetooth/nm-bluez5-manager.c b/src/devices/bluetooth/nm-bluez5-manager.c index 7bcd04e5..9c5e8644 100644 --- a/src/devices/bluetooth/nm-bluez5-manager.c +++ b/src/devices/bluetooth/nm-bluez5-manager.c @@ -404,6 +404,7 @@ get_managed_objects_cb (GDBusProxy *proxy, GAsyncResult *res, NMBluez5Manager *self) { + gs_unref_variant GVariant *variant0 = NULL; GVariant *variant, *ifaces; GVariantIter i; GError *error = NULL; @@ -422,7 +423,8 @@ get_managed_objects_cb (GDBusProxy *proxy, g_clear_error (&error); return; } - g_variant_iter_init (&i, g_variant_get_child_value (variant, 0)); + variant0 = g_variant_get_child_value (variant, 0); + g_variant_iter_init (&i, variant0); while ((g_variant_iter_next (&i, "{&o*}", &path, &ifaces))) { object_manager_interfaces_added (proxy, path, ifaces, self); g_variant_unref (ifaces); |