mieu proteg

This commit is contained in:
H3XploR
2025-02-25 19:41:12 +01:00
parent b06260ec8a
commit 4966d0681a
2 changed files with 1 additions and 4 deletions
Executable
BIN
View File
Binary file not shown.
+1 -4
View File
@@ -6,7 +6,7 @@
/* By: yantoine <yantoine@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/02/17 19:22:27 by yantoine #+# #+# */
/* Updated: 2025/02/25 19:06:52 by yantoine ### ########.fr */
/* Updated: 2025/02/25 19:40:54 by yantoine ### ########.fr */
/* */
/* ************************************************************************** */
@@ -22,7 +22,6 @@ int key_press(int keycode, t_app *app)
mlx_destroy_window(app->mlx, app->win);
mlx_destroy_display(app->mlx);
free(app->mlx);
free(app->scene.all_file);
exit(0);
}
return (0);
@@ -36,8 +35,6 @@ int handle_close(void *param)
mlx_destroy_image(app->mlx, app->img);
mlx_destroy_window(app->mlx, app->win);
mlx_destroy_display(app->mlx);
ft_free_array(app->scene.all_file);
free(app->scene.all_file);
free(app->mlx);
exit(0);
return (0);