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

@@ -81,6 +81,7 @@ RM_OBJS = rm -rf $(D_OBJS)
# flags
CFLAGS = -Wall -Wextra -Werror $(INCLUDES)
CFLAGS += -g3
#CFLAGS += -fsanitize=address
LFLAGS = -L$(D_LFT) -lft
LFLAGS += -L$(D_LMLX) -lm -lmlx -lXext -lX11