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

Mark Wielaard mark@klomp.org
Thu Jun 11 21:08:19 GMT 2026


On Thu, Jun 04, 2026 at 01:41:45AM +0200, Mark Wielaard wrote:
> This will show several memory issues in bzip2recover.
> bzip2 itself doesn't have any leaks.

I pushed this so we can see the bzip2recover patches fixing these
memory issues are correct.

> ---
>  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