tests: avoid false failure on older valgrind

* src/shuf.c (main): In dev mode call randint_all_free()
to avoid false failure with valgrind 3.16.1 at least.
Note this partially reinstates commit v9.0-109-g0106b5a4b.
This was noticed on a debian 11 system running CI tests.
This commit is contained in:
Pádraig Brady committed 2024-11-09 17:16:30 +00:00
1 parent 6db4b33eb9
commit f7c53095d2
1 file changed
+2
+2
View File
@@ -593,5 +593,7 @@ main (int argc, char **argv)
if (i != 0)
write_error ();
IF_LINT (randint_all_free (randint_source)); /* For older valgrind. */
main_exit (EXIT_SUCCESS);
}