aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_exit.c
diff options
context:
space:
mode:
authorRudy Bousset <rbousset@z2r4p3.le-101.fr>2020-02-15 20:29:21 +0100
committerRudy Bousset <rbousset@z2r4p3.le-101.fr>2020-02-15 20:29:21 +0100
commit030fe8c3316d1e1f5f3dea81c3fffd8e00c16afa (patch)
treeaa661716c5ffdd844e41bccb9be833637eaaa3b8 /src/ft_exit.c
parentIn progress (diff)
download42-cub3d-030fe8c3316d1e1f5f3dea81c3fffd8e00c16afa.tar.gz
42-cub3d-030fe8c3316d1e1f5f3dea81c3fffd8e00c16afa.tar.bz2
42-cub3d-030fe8c3316d1e1f5f3dea81c3fffd8e00c16afa.tar.xz
42-cub3d-030fe8c3316d1e1f5f3dea81c3fffd8e00c16afa.tar.zst
42-cub3d-030fe8c3316d1e1f5f3dea81c3fffd8e00c16afa.zip
Work in progress, res now
Diffstat (limited to 'src/ft_exit.c')
-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);
}