line ne se free pas

This commit is contained in:
H3XploR
2025-02-25 02:40:35 +01:00
parent f7e6dec6c4
commit 1faa437fd2
7 changed files with 8 additions and 11 deletions
+2 -1
View File
@@ -6,7 +6,7 @@
/* By: yantoine <yantoine@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/02/14 01:41:17 by yantoine #+# #+# */
/* Updated: 2025/02/22 20:37:46 by yantoine ### ########.fr */
/* Updated: 2025/02/25 01:35:19 by yantoine ### ########.fr */
/* */
/* ************************************************************************** */
@@ -54,6 +54,7 @@ t_scene load_config(const char *filename)
line = get_next_line(fd);
if (!line)
break ;
printf("line: %s\n", line);
scene = parsing_line(line, scene);
free(line);
}