From a291e9ea61436623463d10148df00fb6b42250dc Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 31 Jan 2022 08:42:07 -0800 Subject: [PATCH 11/43] yes: pacify -fsanitizer=leak * src/yes.c (main): Use main_exit, not return. --- src/yes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/yes.c b/src/yes.c index dc1791b2e..13b990e24 100644 --- a/src/yes.c +++ b/src/yes.c @@ -126,5 +126,5 @@ main (int argc, char **argv) while (full_write (STDOUT_FILENO, buf, bufused) == bufused) continue; error (0, errno, _("standard output")); - return EXIT_FAILURE; + main_exit (EXIT_FAILURE); } -- 2.32.0