summaryrefslogtreecommitdiffstats
path: root/term.c
diff options
context:
space:
mode:
Diffstat (limited to 'term.c')
-rw-r--r--term.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/term.c b/term.c
index 97f6d2bc..ecbfdf6a 100644
--- a/term.c
+++ b/term.c
@@ -42,11 +42,7 @@ void
term_free(struct termp *p)
{
- if (p->buf)
- free(p->buf);
- if (p->symtab)
- mchars_free(p->symtab);
-
+ free(p->buf);
free(p);
}