From owner-svn-src-stable@FreeBSD.ORG Fri Sep 14 18:45:15 2012 Return-Path: Delivered-To: svn-src-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 26B951065670; Fri, 14 Sep 2012 18:45:15 +0000 (UTC) (envelope-from trociny@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 0F7278FC08; Fri, 14 Sep 2012 18:45:15 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q8EIjETS084607; Fri, 14 Sep 2012 18:45:14 GMT (envelope-from trociny@svn.freebsd.org) Received: (from trociny@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q8EIjElp084605; Fri, 14 Sep 2012 18:45:14 GMT (envelope-from trociny@svn.freebsd.org) Message-Id: <201209141845.q8EIjElp084605@svn.freebsd.org> From: Mikolaj Golub Date: Fri, 14 Sep 2012 18:45:14 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org X-SVN-Group: stable-9 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r240510 - stable/9/usr.bin/procstat X-BeenThere: svn-src-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for all the -stable branches of the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Sep 2012 18:45:15 -0000 Author: trociny Date: Fri Sep 14 18:45:14 2012 New Revision: 240510 URL: http://svn.freebsd.org/changeset/base/240510 Log: MFC r240081: Free memory allocated by procstat_getfiles(), which may make difference when procstat(1) is run with -a option. Submitted by: Daniel Dettlaff Modified: stable/9/usr.bin/procstat/procstat_files.c Directory Properties: stable/9/usr.bin/procstat/ (props changed) Modified: stable/9/usr.bin/procstat/procstat_files.c ============================================================================== --- stable/9/usr.bin/procstat/procstat_files.c Fri Sep 14 18:44:23 2012 (r240509) +++ stable/9/usr.bin/procstat/procstat_files.c Fri Sep 14 18:45:14 2012 (r240510) @@ -476,4 +476,5 @@ procstat_files(struct procstat *procstat printf("\n"); } + procstat_freefiles(procstat, head); }