Subject: CVS commit: src/usr.bin/systat
To: None <source-changes@NetBSD.org>
From: David Laight <dsl@netbsd.org>
List: source-changes
Date: 03/20/2006 20:36:38
Module Name:	src
Committed By:	dsl
Date:		Mon Mar 20 20:36:38 UTC 2006

Modified Files:
	src/usr.bin/systat: vmstat.c

Log Message:
free() intrnamebuf, intrname and intrloc on entry so we don't leak them
every time initvmstat() is called.
Change intrnamebuf to be static so this works.
Inspired by Coverty CID 2072 (incorrectly) reporting that the memory assigned
to intrnamebuf wasn't being freed.


To generate a diff of this commit:
cvs rdiff -r1.63 -r1.64 src/usr.bin/systat/vmstat.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.