mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
tests: Fix a memory leak in the tls-certificate test
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
This commit is contained in:
parent
a4ce8399cd
commit
c60a0a45de
@ -559,7 +559,7 @@ dns_names (void)
|
||||
g_assert_cmpuint (actual->len, ==, 1);
|
||||
g_assert_true (g_ptr_array_find_with_equal_func (actual, expected, (GEqualFunc)g_bytes_equal, NULL));
|
||||
|
||||
g_ptr_array_free (actual, FALSE);
|
||||
g_ptr_array_unref (actual);
|
||||
g_bytes_unref (expected);
|
||||
g_object_unref (cert);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user