Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 May 1996 08:39:56 +0200
From:      "Philippe Charnier" <charnier@lirmm.fr>
To:        current@freebsd.org
Subject:   request for commit: pstat
Message-ID:  <199605090639.IAA09813@lirmm.lirmm.fr>

next in thread | raw e-mail | index | archive | help

Hi,

while I was at working on the xperfmon++ port under current, I 
found the enclosed small bug for pstat, already corrected in
xperfmon++.

Index: pstat.c
===================================================================
RCS file: /home2h/FreeBSD.cvsroot/src/usr.sbin/pstat/pstat.c,v
retrieving revision 1.21
diff -u -r1.21 pstat.c
--- pstat.c	1996/03/11 05:41:43	1.21
+++ pstat.c	1996/05/08 15:56:04
@@ -1166,4 +1166,6 @@
 		    "Total", hlen, avail / div, used / div, nfree / div,
 		    (double)used / (double)avail * 100.0);
 	}
+	free(sw);
+	free(perdev);
 }


--------                                                        --------
Philippe Charnier                                      charnier@lirmm.fr
                               

         LIRMM, 161 rue Ada, 34392 Montpellier cedex 5 -- France
------------------------------------------------------------------------




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605090639.IAA09813>