From 818ec257782a1010006d7fc2ebacf59e9aabe095 Mon Sep 17 00:00:00 2001 From: nick black Date: Tue, 19 May 2020 08:51:09 -0400 Subject: [PATCH] notcurses_stop: call del_curterm, plug memory leak --- src/lib/notcurses.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/notcurses.c b/src/lib/notcurses.c index 4f45feabb..d63f15f8d 100644 --- a/src/lib/notcurses.c +++ b/src/lib/notcurses.c @@ -944,6 +944,7 @@ int notcurses_stop(notcurses* nc){ (nc->stashstats.cellelisions * 100.0) / (nc->stashstats.cellemissions + nc->stashstats.cellelisions)); } } + del_curterm(cur_term); free(nc); } return ret;