diff --git a/libc3/env.c b/libc3/env.c
index 2d0152f..655aad3 100644
--- a/libc3/env.c
+++ b/libc3/env.c
@@ -65,6 +65,7 @@ void env_clean (s_env *env)
buf_file_close(&env->err);
buf_clean(&env->err);
str_clean(&env->argv0_dir);
+ str_clean(&env->module_path);
list_delete_all(env->path);
}