aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_exit.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ft_exit.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/ft_exit.c b/src/ft_exit.c
index 53af7f9..f0a94a3 100644
--- a/src/ft_exit.c
+++ b/src/ft_exit.c
@@ -33,7 +33,6 @@ static void
ft_memdel((void**)&clist->wlist->winptr);
ft_memdel((void**)&clist->wlist->wlx);
ft_memdel((void**)&clist->wlist);
- ft_memdel((void**)&clist->errmsg);
ft_memdel((void**)&clist);
}
@@ -44,8 +43,6 @@ int
mlx_destroy_window(clist->wlist->wlx, clist->wlist->winptr);
ft_free_lists(clist);
ft_printf("Exiting program\n");
- if (exit_code < 0 || exit_code > 0)
- ft_printf("Exit code: %hhu\n", exit_code);
exit(exit_code);
return (0);
}