solved leaks still reachable because gnl wasn't going to the end, and close fd

This commit is contained in:
Hugo LAMY
2022-05-04 22:00:36 +02:00
parent d4e5f298fa
commit c89c107e09
9 changed files with 47 additions and 48 deletions

View File

@@ -6,7 +6,7 @@
/* By: pblagoje <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/05/04 13:31:38 by pblagoje #+# #+# */
/* Updated: 2022/05/04 13:34:07 by pblagoje ### ########.fr */
/* Updated: 2022/05/04 21:36:13 by hulamy ### ########.fr */
/* */
/* ************************************************************************** */
@@ -169,7 +169,7 @@ typedef struct s_game
t_rcast rcast;
t_txt txt;
t_map map;
int fd;
int k_hook[MAX_NB_KEY];
} t_game;