From e76099ed7e808798fc29884641994248bd7c9962 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste VESLIN <19856429+thebaptiste@users.noreply.github.com> Date: Tue, 5 Nov 2024 17:46:54 +0100 Subject: [PATCH] build: update --- src/valgrind.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/valgrind.sh b/src/valgrind.sh index e06e4a8..1c68e59 100755 --- a/src/valgrind.sh +++ b/src/valgrind.sh @@ -32,7 +32,7 @@ else fi echo "TEST DES FUITES MEMOIRES..." -valgrind --tool=memcheck --leak-check=full --show-leak-kinds=all --show-possibly-lost=no ${SUPPS} "$@" 2>&1 |tee /tmp/valgrind.out +valgrind --tool=memcheck --leak-check=full --show-possibly-lost=yes ${SUPPS} "$@" 2>&1 |tee /tmp/valgrind.out N=$(cat /tmp/valgrind.out |grep -c "definitely lost: 0 bytes in 0 blocks") if test "${N}" -gt 0; then echo "OK"