svn commit: r249924 - head/bin/df
Ulrich Spoerlein
uqs at FreeBSD.org
Fri Apr 26 12:27:30 UTC 2013
Author: uqs
Date: Fri Apr 26 12:27:30 2013
New Revision: 249924
URL: http://svnweb.freebsd.org/changeset/base/249924
Log:
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
Modified:
head/bin/df/df.c
Modified: head/bin/df/df.c
==============================================================================
--- head/bin/df/df.c Fri Apr 26 11:58:46 2013 (r249923)
+++ head/bin/df/df.c Fri Apr 26 12:27:30 2013 (r249924)
@@ -296,7 +296,6 @@ main(int argc, char *argv[])
prtstat(&mntbuf[i], &maxwidths);
if (cflag)
prtstat(&totalbuf, &maxwidths);
- free(mntbuf);
return (rv);
}
More information about the svn-src-all
mailing list