Date: Tue, 4 Sep 2012 05:54:44 +0000 (UTC) From: Mikolaj Golub <trociny@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r240081 - head/usr.bin/procstat Message-ID: <201209040554.q845siwH003250@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: trociny Date: Tue Sep 4 05:54:43 2012 New Revision: 240081 URL: http://svn.freebsd.org/changeset/base/240081 Log: Free memory allocated by procstat_getfiles(), which may make difference when procstat(1) is run with -a option. Submitted by: Daniel Dettlaff <dmilith gmail com> MFC after: 1 week Modified: head/usr.bin/procstat/procstat_files.c Modified: head/usr.bin/procstat/procstat_files.c ============================================================================== --- head/usr.bin/procstat/procstat_files.c Tue Sep 4 05:51:50 2012 (r240080) +++ head/usr.bin/procstat/procstat_files.c Tue Sep 4 05:54:43 2012 (r240081) @@ -476,4 +476,5 @@ procstat_files(struct procstat *procstat printf("\n"); } + procstat_freefiles(procstat, head); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209040554.q845siwH003250>