From: Lukas Jiriste Date: Sun, 1 Sep 2024 07:34:32 +0000 (+0200) Subject: Free the env->fds_to_close on exit X-Git-Url: https://git.ljiriste.work/?a=commitdiff_plain;h=5ac6c2f4fc8eddd7ad9a02b48713ef596dc4d382;p=42%2Fminishell.git Free the env->fds_to_close on exit --- diff --git a/src/env.c b/src/env.c index a5632be..8e7ba6c 100644 --- a/src/env.c +++ b/src/env.c @@ -6,7 +6,7 @@ /* By: lnikolov vars); free(env->vars); ft_vec_free(&env->child_pids, NULL); + ft_vec_free(&env->fds_to_close, NULL); return ; }