Commit 75b8ea59a3b6fee30e0bc7a7661ba6efd9c42f48

Thomas de Grivel 2022-11-18T11:58:30

make test_asan ok

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/test/facts_with_test.c b/test/facts_with_test.c
index 31d66e8..85f713c 100644
--- a/test/facts_with_test.c
+++ b/test/facts_with_test.c
@@ -143,6 +143,7 @@ void facts_with_test_ ()
   FACT_TEST_EQ(&fact, facts_with_cursor_next(&cursor));
   TEST_ASSERT(! facts_with_cursor_next(&cursor));
   TEST_ASSERT(! facts_with_cursor_next(&cursor));
+  facts_with_cursor_clean(&cursor);
   facts_with(&facts, &cursor, (s_tag *[]) { tag + 3, tag, tag + 1,
                                                      tag, tag + 2,
                                                      NULL,