From owner-svn-src-head@FreeBSD.ORG Fri Apr 26 12:27:30 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C06B4C16; Fri, 26 Apr 2013 12:27:30 +0000 (UTC) (envelope-from uqs@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id B1DE3165E; Fri, 26 Apr 2013 12:27:30 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r3QCRU3i064552; Fri, 26 Apr 2013 12:27:30 GMT (envelope-from uqs@svn.freebsd.org) Received: (from uqs@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r3QCRUSN064551; Fri, 26 Apr 2013 12:27:30 GMT (envelope-from uqs@svn.freebsd.org) Message-Id: <201304261227.r3QCRUSN064551@svn.freebsd.org> From: Ulrich Spoerlein Date: Fri, 26 Apr 2013 12:27:30 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r249924 - head/bin/df X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Apr 2013 12:27:30 -0000 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); }