regarder les autres leaks si jamais et faire des test pousee

This commit is contained in:
H3XploR
2025-02-25 19:38:44 +01:00
parent 5a7424600d
commit b06260ec8a
7 changed files with 12 additions and 10 deletions
+2 -2
View File
@@ -6,7 +6,7 @@
/* By: yantoine <yantoine@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/02/14 20:05:49 by yantoine #+# #+# */
/* Updated: 2025/02/17 21:25:34 by yantoine ### ########.fr */
/* Updated: 2025/02/25 19:38:13 by yantoine ### ########.fr */
/* */
/* ************************************************************************** */
@@ -37,7 +37,7 @@ t_vec3 parse_color(const char *token, t_scene scene)
ft_free_array(token_color);
ft_free_array(scene.token_if_exit);
ft_putendl_fd("error", 2);
free(scene.line_if_exit);
ft_free_array(scene.all_file);
close(scene.fd_if_exit);
exit(1);
}