diff options
author | eadler <eadler@FreeBSD.org> | 2013-01-16 05:03:52 +0000 |
---|---|---|
committer | eadler <eadler@FreeBSD.org> | 2013-01-16 05:03:52 +0000 |
commit | b3d8782481d12417a40b90e1b8260fa56174f33c (patch) | |
tree | 3ad3c46fb7120b97040130489d06a4002ec8465b /bin | |
parent | aa508f10e8cbfcec3a4e095e24c4294dcb49b7e2 (diff) | |
download | FreeBSD-src-b3d8782481d12417a40b90e1b8260fa56174f33c.zip FreeBSD-src-b3d8782481d12417a40b90e1b8260fa56174f33c.tar.gz |
Free memory before exiting in order to silence a warning from the clang
static analyzer
Approved by: cperciva
MFC after: 3 days
Diffstat (limited to 'bin')
-rw-r--r-- | bin/pwait/pwait.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/pwait/pwait.c b/bin/pwait/pwait.c index 26cf1bd..8d87a8d 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; } |