Date: Fri, 26 Apr 2013 12:27:30 +0000 (UTC) From: Ulrich Spoerlein <uqs@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r249924 - head/bin/df Message-ID: <201304261227.r3QCRUSN064551@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201304261227.r3QCRUSN064551>