Commit e7db580a0ac5cdab94f6a30efab180ca867ba5d1

Thomas de Grivel 2024-08-18T20:36:21

fix memleak

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/libkc3/env.c b/libkc3/env.c
index 91a79de..4fe5dfd 100644
--- a/libkc3/env.c
+++ b/libkc3/env.c
@@ -2088,7 +2088,7 @@ s_tag * env_facts_with_tags (s_env *env, s_facts *facts, s_tag *subject,
     }
   }
  ok:
-  //list_delete_all(arguments);
+  list_delete_all(arguments);
   *dest = tmp;
   return dest;
  clean: