mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-10 01:29:05 -04:00
notcurses_stop: call del_curterm, plug memory leak
This commit is contained in:
parent
7f2888269f
commit
818ec25778
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user