solved leaks still reachable because gnl wasn't going to the end, and close fd
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user