mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 07:26:15 +01:00
tests: Remove incorrect unref from tls-bindings tests
`g_tls_backend_get_default()` does not return a reference to the backend, so don’t drop one. Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
This commit is contained in:
parent
1cde07b978
commit
5cafd748e3
@ -40,7 +40,6 @@ get_tls_channel_binding (void)
|
||||
G_TLS_CHANNEL_BINDING_TLS_UNIQUE, NULL, (GError **)¬_null));
|
||||
|
||||
g_object_unref (tls);
|
||||
g_object_unref (backend);
|
||||
g_test_trap_subprocess (NULL, 0, 0);
|
||||
g_test_trap_assert_failed ();
|
||||
g_test_trap_assert_stderr ("*GLib-GIO-CRITICAL*");
|
||||
@ -76,7 +75,6 @@ get_dtls_channel_binding (void)
|
||||
G_TLS_CHANNEL_BINDING_TLS_UNIQUE, NULL, (GError **)¬_null));
|
||||
|
||||
g_object_unref (dtls);
|
||||
g_object_unref (backend);
|
||||
g_test_trap_subprocess (NULL, 0, 0);
|
||||
g_test_trap_assert_failed ();
|
||||
g_test_trap_assert_stderr ("*GLib-GIO-CRITICAL*");
|
||||
|
Loading…
Reference in New Issue
Block a user