Commit 5f2590542cb5667298ec93b5bb9f17f1854cb13d

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;
 }