mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-18 03:25:55 +00: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));
|
(nc->stashstats.cellelisions * 100.0) / (nc->stashstats.cellemissions + nc->stashstats.cellelisions));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
del_curterm(cur_term);
|
||||||
free(nc);
|
free(nc);
|
||||||
}
|
}
|
||||||
return ret;
|
return ret;
|
||||||
|
Loading…
Reference in New Issue
Block a user