Commit eb87801f5352974f53bbfa1092c76bf349af8905

Thomas de Grivel 2023-02-11T18:14:23

clean

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff --git a/test/env_test.c b/test/env_test.c
index b5458e7..3972be5 100644
--- a/test/env_test.c
+++ b/test/env_test.c
@@ -41,6 +41,7 @@ void env_test_eval_equal_tag ()
                                  tag_init_1(&y, "1"), &z));
   TEST_ASSERT(frame_get(&frame, x.data.ident.sym));
   TEST_EQ(compare_tag(&z, &y), 0);
+  tag_clean(&z);
   env.frame = frame_clean(&frame);
   env_clean(&env);
   env_init(&env);
@@ -54,6 +55,7 @@ void env_test_eval_equal_tag ()
   env_clean(&env);
   tag_clean(&x);
   tag_clean(&y);
+  tag_clean(&z);
   test_context(NULL);
 }