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);
 }
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to