Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/usr.bin/systat



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.




Home | Main Index | Thread Index | Old Index