[glib-networking] tests: fix leak in certificate-test introduced in e12c82f7



commit e131a04fc1115711f3271aa9c1a177dd0c62bd69
Author: Michael Catanzaro <mcatanzaro redhat com>
Date:   Wed Jun 23 14:30:47 2021 -0500

    tests: fix leak in certificate-test introduced in e12c82f7
    
    I missed this because I've been ignoring CI failures because the CI is
    flaky. I really need to fix the CI. Oh well.

 tls/tests/certificate.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/tls/tests/certificate.c b/tls/tests/certificate.c
index 32ba66c..11b7935 100644
--- a/tls/tests/certificate.c
+++ b/tls/tests/certificate.c
@@ -676,7 +676,7 @@ test_certificate_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_free (actual, TRUE);
   g_bytes_unref (expected);
   g_object_unref (cert);
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]