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
This commit is contained in:
trociny 2012-09-04 05:54:43 +00:00
parent c2b7092ab6
commit 00a74f4b48

View File

@ -476,4 +476,5 @@ procstat_files(struct procstat *procstat, struct kinfo_proc *kipp)
printf("\n");
}
procstat_freefiles(procstat, head);
}