summaryrefslogtreecommitdiffstats
path: root/bin/df
diff options
context:
space:
mode:
authoruqs <uqs@FreeBSD.org>2013-04-26 12:27:30 +0000
committeruqs <uqs@FreeBSD.org>2013-04-26 12:27:30 +0000
commit7eab2144525c38723764e418181b36c7e9cbafad (patch)
tree35349be60d65079d69451856f4813c1a706688b4 /bin/df
parent61d529d085e6782aaaceec7e1beed1de853df302 (diff)
downloadFreeBSD-src-7eab2144525c38723764e418181b36c7e9cbafad.zip
FreeBSD-src-7eab2144525c38723764e418181b36c7e9cbafad.tar.gz
Don't appease clang static analyzer after all and roll back
the free(3) of mntbuf ... again. There's no point in doing useless extra work when we're about to exit. See also r240565. Not reading file history: uqs
Diffstat (limited to 'bin/df')
-rw-r--r--bin/df/df.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/bin/df/df.c b/bin/df/df.c
index b83603f..13ef129 100644
--- a/bin/df/df.c
+++ b/bin/df/df.c
@@ -296,7 +296,6 @@ main(int argc, char *argv[])
prtstat(&mntbuf[i], &maxwidths);
if (cflag)
prtstat(&totalbuf, &maxwidths);
- free(mntbuf);
return (rv);
}
OpenPOWER on IntegriCloud