From 9b39a88281ad790f8bf909ef9a5836eaaa774451 Mon Sep 17 00:00:00 2001 From: delphij Date: Wed, 16 Jan 2013 18:15:25 +0000 Subject: Use a different way to silence clang analyzer as done in r245494 by explicitly telling the compiler that we are on the exit route. X-MFC: together with r245494 --- bin/pwait/pwait.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'bin/pwait') diff --git a/bin/pwait/pwait.c b/bin/pwait/pwait.c index 8d87a8d..6851fad 100644 --- a/bin/pwait/pwait.c +++ b/bin/pwait/pwait.c @@ -141,6 +141,5 @@ main(int argc, char *argv[]) nleft -= n; } - free(e); - return 0; + exit(EX_OK); } -- cgit v1.1