From 15baf349fa6985262da39b70f2d496af104c478d Mon Sep 17 00:00:00 2001 From: Federico Angelilli Date: Sat, 16 Mar 2024 02:11:10 +0100 Subject: Fix some memory leaks and add valgrind support --- Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 157beed..493708f 100644 --- a/Makefile +++ b/Makefile @@ -35,4 +35,7 @@ $(BIN): $(OBJ) clean: rm -rf $(BIN) $(OBJ) +valgrind: $(BIN) + valgrind --leak-check=full --track-origins=yes --suppressions=valgrind.supp ./$(BIN) + # vim: ts=4 sw=4 -- cgit v1.2.3