free_terminfo_cache: free up esctable #1525

This commit is contained in:
nick black 2021-05-26 09:28:17 -04:00 committed by Nick Black
parent 2df95f7e25
commit 73913c3f1a

View File

@ -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.