[PATCH bzip2-tests] Add --leak-check=full to VALGRIND_ARGS

Mark Wielaard mark@klomp.org
Wed Jun 3 23:41:45 GMT 2026


This will show several memory issues in bzip2recover.
bzip2 itself doesn't have any leaks.
---
 run-tests.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/run-tests.sh b/run-tests.sh
index e5b1aa26ac9b..245b9b95b221 100755
--- a/run-tests.sh
+++ b/run-tests.sh
@@ -8,7 +8,7 @@
 # version 3, or (at your option) any later version.
 
 VALGRIND="valgrind"
-VALGRIND_ARGS="-q --error-exitcode=9"
+VALGRIND_ARGS="-q --error-exitcode=9 --leak-check=full"
 BZIP2="bzip2"
 BZIP2RECOVER="bzip2recover"
 TESTS_DIR="."
-- 
2.54.0



More information about the Bzip2-devel mailing list