From 1962d5cfca5f9097e45c2b77fcb70272a72658fe Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Sun, 2 Aug 2020 00:58:35 +0100 Subject: [PATCH] ul: free most allocations ncurses did during setupterm() Signed-off-by: Sami Kerola --- text-utils/ul.c | 1 + 1 file changed, 1 insertion(+) diff --git a/text-utils/ul.c b/text-utils/ul.c index 15c697b71d..4cd3b63581 100644 --- a/text-utils/ul.c +++ b/text-utils/ul.c @@ -652,5 +652,6 @@ int main(int argc, char **argv) fclose(f); } free(ctl.obuf); + del_curterm(cur_term); return EXIT_SUCCESS; } -- 2.47.2