mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-30 13:53:30 +02:00
tests: Fix a memory leak in the tls-certificate test
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user