From 724f8f865c3b6ad6a8cfade32ae1ee2708f90c5b Mon Sep 17 00:00:00 2001 From: nhmall Date: Tue, 12 Nov 2024 18:51:04 -0500 Subject: [PATCH] more memory freeing before exit on Windows --- sys/windows/consoletty.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/windows/consoletty.c b/sys/windows/consoletty.c index e5f6fa272..d1cbfbbca 100644 --- a/sys/windows/consoletty.c +++ b/sys/windows/consoletty.c @@ -1131,6 +1131,8 @@ consoletty_exit(void) /* go back to using the safe routines */ safe_routines(); free_custom_colors(); + free((genericptr_t) console.front_buffer); + free((genericptr_t) console.back_buffer); free((genericptr_t) console.localestr); free((genericptr_t) console.orig_localestr); }