Commit 7ee0f6db4c3db1f0155e957e16ab01f70ff7fc7e

Thomas de Grivel 2024-03-24T18:32:56

wip asan

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/libc3/env.c b/libc3/env.c
index 0093b97..ce07565 100644
--- a/libc3/env.c
+++ b/libc3/env.c
@@ -102,6 +102,7 @@ s_tag * env_def (s_env *env, const s_call *call, s_tag *dest)
                            &tag_value))
     return NULL;
   tag_init_ident(dest, &tag_ident.data.ident);
+  tag_clean(&tag_value);
   return dest;
 }