From f3de285bbf2964cda10294d4785d404d3d1a3105 Mon Sep 17 00:00:00 2001 From: Xin LI Date: Wed, 16 Jan 2013 18:15:25 +0000 Subject: [PATCH] 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(-) diff --git a/bin/pwait/pwait.c b/bin/pwait/pwait.c index 8d87a8d6d211..6851fadf9db7 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); }