Commit 5758ea80d42314307845814bea7034360db581d3

Thomas de Grivel 2023-08-24T11:02:11

asan

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/test/array_test.c b/test/array_test.c
index ebef86d..1e6cea1 100644
--- a/test/array_test.c
+++ b/test/array_test.c
@@ -47,6 +47,7 @@ TEST_CASE(array_data)
   TEST_EQ(* (u8 *) array_data(&a, (uw []) {0}), 1);
   TEST_EQ(* (u8 *) array_data(&a, (uw []) {1}), 2);
   TEST_EQ(* (u8 *) array_data(&a, (uw []) {2}), 3);
+  array_clean(&a);
 }
 TEST_CASE_END(array_data)