Commit cc8dc5252d9871f57f2f052bc7c6bb5797fc7288

Thomas de Grivel 2024-12-03T21:59:56

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 030537f..fb26ad4 100644
--- a/libkc3/env.c
+++ b/libkc3/env.c
@@ -250,7 +250,7 @@ void env_clean (s_env *env)
 
 void env_clean_globals (s_env *env)
 {
-  frame_clean(env->global_frame);
+  frame_delete(env->global_frame);
   frame_clean(&env->read_time_frame);
 }