small fixes

This commit is contained in:
Loic Deridder
2025-02-18 14:35:37 +01:00
parent afe1213db7
commit 06ffb44757
2 changed files with 11 additions and 9 deletions

View File

@@ -56,7 +56,7 @@ void free_msh(t_msh *msh)
close(msh->hist);
if (msh->here_fd != -1)
close(msh->here_fd);
free(msh->input);
ft_free(&msh->input);
ft_free(&msh->prev_input);
free(msh);
}