summaryrefslogtreecommitdiff
path: root/gio/tests/gdbus-peer.c
diff options
context:
space:
mode:
authorHyunjee Kim <hj0426.kim@samsung.com>2019-12-03 10:36:55 +0900
committerHyunjee Kim <hj0426.kim@samsung.com>2019-12-03 10:36:55 +0900
commit9d4dc80d1464c073554d6816992036babadad25a (patch)
treec38e5c8021666b0a6750b243550d50d19b920ebe /gio/tests/gdbus-peer.c
parentaedbffaae7e80f2e7d90374faea486abbc5e57f7 (diff)
downloadglib-9d4dc80d1464c073554d6816992036babadad25a.tar.gz
glib-9d4dc80d1464c073554d6816992036babadad25a.tar.bz2
glib-9d4dc80d1464c073554d6816992036babadad25a.zip
Imported Upstream version 2.57.2
Diffstat (limited to 'gio/tests/gdbus-peer.c')
-rw-r--r--gio/tests/gdbus-peer.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gio/tests/gdbus-peer.c b/gio/tests/gdbus-peer.c
index 101c2a8bb..7f35baae6 100644
--- a/gio/tests/gdbus-peer.c
+++ b/gio/tests/gdbus-peer.c
@@ -875,6 +875,7 @@ test_peer (void)
getuid ());
g_assert_cmpuint (g_credentials_get_unix_pid (credentials, NULL), ==,
getpid ());
+ g_object_unref (credentials);
#else
g_assert_error (error, G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED);
g_assert (credentials == NULL);
@@ -1358,6 +1359,8 @@ test_nonce_tcp (void)
g_main_loop_quit (service_loop);
g_thread_join (service_thread);
+
+ g_ptr_array_unref (data.current_connections);
}
static void
@@ -1711,6 +1714,7 @@ codegen_test_peer (void)
* change notifications anyway because those are done from an idle handler
*/
example_animal_call_poke_sync (animal2, TRUE, TRUE, NULL, &error);
+ g_clear_error (&error);
g_object_unref (animal1);
g_object_unref (animal2);