[Midnightbsd-cvs] src [8059] trunk/usr.bin/procstat/procstat_files.c: free memory allocated by procstat_getfiles() which may make difference when procstat(1) is run with -a option
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Thu Sep 15 17:33:22 EDT 2016
Revision: 8059
http://svnweb.midnightbsd.org/src/?rev=8059
Author: laffer1
Date: 2016-09-15 17:33:21 -0400 (Thu, 15 Sep 2016)
Log Message:
-----------
free memory allocated by procstat_getfiles() which may make difference when procstat(1) is run with -a option
Modified Paths:
--------------
trunk/usr.bin/procstat/procstat_files.c
Modified: trunk/usr.bin/procstat/procstat_files.c
===================================================================
--- trunk/usr.bin/procstat/procstat_files.c 2016-09-15 21:32:28 UTC (rev 8058)
+++ trunk/usr.bin/procstat/procstat_files.c 2016-09-15 21:33:21 UTC (rev 8059)
@@ -476,4 +476,5 @@
printf("\n");
}
+ procstat_freefiles(procstat, head);
}
More information about the Midnightbsd-cvs
mailing list