From 7de841fa9684b5bcf2aa9933e3781983ab9dcab6 Mon Sep 17 00:00:00 2001 From: George Kiagiadakis Date: Fri, 15 Oct 2021 14:00:05 +0300 Subject: [PATCH] Makefile: run valgrind with better arguments & environment --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1536568a..63e28236 100644 --- a/Makefile +++ b/Makefile @@ -26,4 +26,5 @@ gdb: $(MAKE) run DBG=gdb valgrind: - $(MAKE) run DBG=valgrind + G_SLICE=always-malloc \ + $(MAKE) run DBG="valgrind --leak-check=full"