* 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
---
src/shuf.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/shuf.c b/src/shuf.c
index 63c26f31e..80ffdb2e1 100644
--- a/src/shuf.c
+++ b/src/shuf.c
@@ -599,5 +599,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);
}
--
2.47.0