I'm not 100% sure, but I think I have found a memory leak in
syscons. The following patch should fix it. Would someone
please have a look at this? The diff is against this file:
src/sys/dev/syscons/schistory.c,v 1.5 1999/09/19 08:58:53
Regards
Oliver
--- src/sys/dev/syscons.orig/schistory.c Sun Sep 19 10:58:53 1999
+++ src/sys/dev/syscons/schistory.c Wed Dec 8 09:53:33 1999
@@ -135,6 +135,7 @@
if (prev_history != NULL) {
extra_history_size += delta;
sc_vtb_destroy(prev_history);
+ free(prev_history, M_DEVBUF);
}
scp->history = history;
--
Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany
(Info: finger userinfo:[EMAIL PROTECTED])
"In jedem Stück Kohle wartet ein Diamant auf seine Geburt"
(Terry Pratchett)
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message