From ff1b01e4becbc1f7a4217a5cae5fccfa6bd83392 Mon Sep 17 00:00:00 2001 From: jonathan santis Date: Thu, 15 May 2025 15:00:41 +0200 Subject: [PATCH] add leak check to makefile --- makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/makefile b/makefile index 15387a0..bc6e94d 100644 --- a/makefile +++ b/makefile @@ -1,2 +1,4 @@ default: gcc -O0 -g test.c config.c file.c +leak-check: + valgrind --track-origins=yes --leak-check=full ./a.out