Commit f5a0ab76078fb3487dfbf1e90d76b41e42e9645b

Thomas de Grivel 2023-10-18T22:20:39

wip asan

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/libc3/buf_parse.c b/libc3/buf_parse.c
index 91571d7..ca6cd4d 100644
--- a/libc3/buf_parse.c
+++ b/libc3/buf_parse.c
@@ -1727,6 +1727,7 @@ sw buf_parse_list (s_buf *buf, s_list **list)
     goto restore;
   }
  restore:
+  list_delete_all(*list);
   buf_save_restore_rpos(buf, &save);
  clean:
   buf_save_clean(buf, &save);