Commit 01c6640a50d017aacd6cd8af5847ea4d22aaabbc

Thomas de Grivel 2023-11-10T09:11:37

asan

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/test/buf_inspect_test.c b/test/buf_inspect_test.c
index c89c5a9..3598e71 100644
--- a/test/buf_inspect_test.c
+++ b/test/buf_inspect_test.c
@@ -130,6 +130,7 @@
     TEST_EQ(buf.wpos, strlen(expected));                               \
     if (g_test_last_ok)                                                \
       TEST_STRNCMP(buf.ptr.p, (expected), buf.wpos);                   \
+    list_delete_all(list_test);                                        \
     buf_clean(&buf_test);                                              \
     buf_clean(&buf);                                                   \
     test_context(NULL);                                                \