fixed some errors

This commit is contained in:
mdev9
2024-04-22 15:40:06 +02:00
parent 901ff34b7c
commit 9f14d1c1b6
6 changed files with 31 additions and 15 deletions

View File

@ -6,7 +6,7 @@
/* By: marde-vr <marde-vr@42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/03/05 18:19:26 by marde-vr #+# #+# */
/* Updated: 2024/04/21 21:56:47 by tomoron ### ########.fr */
/* Updated: 2024/04/22 14:33:56 by marde-vr ### ########.fr */
/* */
/* ************************************************************************** */
@ -46,8 +46,8 @@ void free_msh(t_msh *msh)
void ft_exit(t_msh *msh, int exit_code)
{
//ft_printf("exiting");
free_msh(msh);
set_echoctl(msh->echoctl);
free_msh(msh);
exit(exit_code);
}