notcurses_stop: call del_curterm, plug memory leak

This commit is contained in:
nick black 2020-05-19 08:51:09 -04:00
parent 7f2888269f
commit 818ec25778
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

View File

@ -944,6 +944,7 @@ int notcurses_stop(notcurses* nc){
(nc->stashstats.cellelisions * 100.0) / (nc->stashstats.cellemissions + nc->stashstats.cellelisions)); (nc->stashstats.cellelisions * 100.0) / (nc->stashstats.cellemissions + nc->stashstats.cellelisions));
} }
} }
del_curterm(cur_term);
free(nc); free(nc);
} }
return ret; return ret;