Date: Fri, 14 Sep 2012 18:45:14 +0000 (UTC) From: Mikolaj Golub <trociny@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r240510 - stable/9/usr.bin/procstat Message-ID: <201209141845.q8EIjElp084605@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <dmilith gmail com> 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); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209141845.q8EIjElp084605>