From aaba9ae07c0dd44eea33ef5d5dfd635f80754568 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Wed, 24 Apr 2024 00:02:23 +0200 Subject: [PATCH] add -fsanitize=leak --- c/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c/Makefile b/c/Makefile index 7e3b140..edc7cea 100644 --- a/c/Makefile +++ b/c/Makefile @@ -18,7 +18,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: $(OBJECTS)