From 0cf573a8b1e19efb92eb74902e153bec1f20ad9d Mon Sep 17 00:00:00 2001 From: Mylloon Date: Tue, 23 Apr 2024 22:54:45 +0200 Subject: [PATCH] add leak detector --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 91379d0..79650f4 100644 --- a/Makefile +++ b/Makefile @@ -32,7 +32,7 @@ release: compilation debug: CFLAGS += -Wall -Wextra -Wshadow -Wcast-align -Wstrict-prototypes debug: CFLAGS += -fanalyzer -fsanitize=undefined -g -Og -debug: LDFLAGS += -fsanitize=undefined +debug: LDFLAGS += -fsanitize=undefined -fsanitize=leak debug: compilation compilation: $(ALL_OBJECTS)