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"