summaryrefslogtreecommitdiff
path: root/sys/dev/syscons
diff options
context:
space:
mode:
authorKazutaka YOKOTA <yokota@FreeBSD.org>1999-12-10 09:36:05 +0000
committerKazutaka YOKOTA <yokota@FreeBSD.org>1999-12-10 09:36:05 +0000
commitda7c907d09cc7285b051d10e1c79612d84f63420 (patch)
tree29d2ad9605287878ec642dc7995d91dc30e2110e /sys/dev/syscons
parent0712c356a367d08fe0707e4aa41a9b9fc2d2e772 (diff)
Notes
Diffstat (limited to 'sys/dev/syscons')
-rw-r--r--sys/dev/syscons/schistory.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/syscons/schistory.c b/sys/dev/syscons/schistory.c
index 054345aae35e..aa7de06ca64b 100644
--- a/sys/dev/syscons/schistory.c
+++ b/sys/dev/syscons/schistory.c
@@ -135,6 +135,7 @@ sc_alloc_history_buffer(scr_stat *scp, int lines, int prev_ysize, int wait)
if (prev_history != NULL) {
extra_history_size += delta;
sc_vtb_destroy(prev_history);
+ free(prev_history, M_DEVBUF);
}
scp->history = history;