mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-10 01:29:05 -04:00
free_terminfo_cache: free up esctable #1525
This commit is contained in:
parent
2df95f7e25
commit
73913c3f1a
@ -135,6 +135,7 @@ apply_term_heuristics(tinfo* ti, const char* termname, int fd){
|
|||||||
|
|
||||||
void free_terminfo_cache(tinfo* ti){
|
void free_terminfo_cache(tinfo* ti){
|
||||||
pthread_mutex_destroy(&ti->pixel_query);
|
pthread_mutex_destroy(&ti->pixel_query);
|
||||||
|
free(ti->esctable);
|
||||||
}
|
}
|
||||||
|
|
||||||
// tlen -- size of escape table. tused -- used bytes in same.
|
// tlen -- size of escape table. tused -- used bytes in same.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user