diff options
-rw-r--r-- | html.c | 3 | ||||
-rw-r--r-- | term.c | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -402,6 +402,9 @@ html_free(void *p) SLIST_REMOVE_HEAD(&h->stack, entry); free(tag); } + + if (h->symtab) + chars_free(h->symtab); free(h); } @@ -90,7 +90,7 @@ term_free(struct termp *p) if (p->buf) free(p->buf); - if (TERMENC_ASCII == p->enc && p->symtab) + if (p->symtab) chars_free(p->symtab); free(p); |