Commit ecfbc8fe4198c3f003c9b10687942a82d198dae1

Thomas de Grivel 2023-03-14T23:22:39

wip cfn

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/libc3/cfn.c b/libc3/cfn.c
index 778d62a..b29e457 100644
--- a/libc3/cfn.c
+++ b/libc3/cfn.c
@@ -65,7 +65,7 @@ s_tag * cfn_apply (s_cfn *cfn, s_list *args, s_tag *dest)
 void cfn_clean (s_cfn *cfn)
 {
   assert(cfn);
-  str_clean(cfn->name);
+  str_clean(&cfn->name);
   list_delete_all(cfn->arg_types);
 }