diff options
author | Hyunjee Kim <hj0426.kim@samsung.com> | 2019-12-03 10:36:55 +0900 |
---|---|---|
committer | Hyunjee Kim <hj0426.kim@samsung.com> | 2019-12-03 10:36:55 +0900 |
commit | 9d4dc80d1464c073554d6816992036babadad25a (patch) | |
tree | c38e5c8021666b0a6750b243550d50d19b920ebe /gio/tests/gdbus-peer.c | |
parent | aedbffaae7e80f2e7d90374faea486abbc5e57f7 (diff) | |
download | glib-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.c | 4 |
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); |