diff options
| author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1996-05-09 07:13:16 +0000 |
|---|---|---|
| committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1996-05-09 07:13:16 +0000 |
| commit | fb59e630f65ba0bcaf3f379730faf9bf35e73618 (patch) | |
| tree | ee04b5cb53600a192054a29f6537a94d4f120c04 /usr.sbin/pstat | |
| parent | 00bbf737340c78f3d9a1fbb58352d7ec041fe7c1 (diff) | |
Notes
Diffstat (limited to 'usr.sbin/pstat')
| -rw-r--r-- | usr.sbin/pstat/pstat.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/pstat/pstat.c b/usr.sbin/pstat/pstat.c index 92d76f7ceee5..e7427cec51d8 100644 --- a/usr.sbin/pstat/pstat.c +++ b/usr.sbin/pstat/pstat.c @@ -1157,6 +1157,8 @@ swapmode() * need to bother with totals. */ used = avail - nfree; + free(sw); + free(perdev); if (totalflag) { (void)printf("%dM/%dM swap space\n", used / 2048, avail / 2048); return; |
