From 28e4657584bbfb96853da16c160c96255c59ff75 Mon Sep 17 00:00:00 2001 From: Eitan Adler Date: Wed, 16 Jan 2013 05:03:52 +0000 Subject: [PATCH] Free memory before exiting in order to silence a warning from the clang static analyzer Approved by: cperciva MFC after: 3 days --- bin/pwait/pwait.c | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/pwait/pwait.c b/bin/pwait/pwait.c index 26cf1bd8970..8d87a8d6d21 100644 --- a/bin/pwait/pwait.c +++ b/bin/pwait/pwait.c @@ -141,5 +141,6 @@ main(int argc, char *argv[]) nleft -= n; } + free(e); return 0; }