mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-09 19:06:15 +01:00
gio/tests/gdbus-peer: Unref cached property GVariant value
Helps with: https://gitlab.gnome.org/GNOME/glib/-/issues/333
This commit is contained in:
parent
1da208cddc
commit
e268ff39b6
@ -843,6 +843,7 @@ do_test_peer (void)
|
||||
error = NULL;
|
||||
value = g_dbus_proxy_get_cached_property (proxy, "PeerProperty");
|
||||
g_assert_cmpstr (g_variant_get_string (value, NULL), ==, "ThePropertyValue");
|
||||
g_clear_pointer (&value, g_variant_unref);
|
||||
|
||||
/* try invoking a method */
|
||||
error = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user