Commit fdcca9c33f40ff8e17cf4784e6c2386d513fb1c5

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);                                                \