Commit b66ed8f7eeb125101d48699f4346f4bd76c6eeda

Thomas de Grivel 2023-03-16T18:56:52

free

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/libc3/cfn.c b/libc3/cfn.c
index c9c8f5b..3b393fd 100644
--- a/libc3/cfn.c
+++ b/libc3/cfn.c
@@ -157,6 +157,7 @@ s_cfn * cfn_set_type (s_cfn *cfn, s_list *arg_type,
   cfn->arity = arity;
   cfn->cif = cif;
   cfn->result_type = result_type;
+  free(arg_ffi_type);
   return cfn;
 }