svn commit: r240081 - head/usr.bin/procstat
Mikolaj Golub
trociny at FreeBSD.org
Tue Sep 4 05:54:44 UTC 2012
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);
}
More information about the svn-src-all
mailing list