summaryrefslogtreecommitdiffstats
path: root/html.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-09-20 13:43:31 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-09-20 13:43:31 +0000
commit3887dad3acd2d97b8ea329afe3d54d1b211ea8e4 (patch)
tree022d29c7857c70aea80f4b0cd137901dcc0dfcdf /html.c
parente626207b0ab55498eb23b25fee41c504d6be0218 (diff)
downloadmandoc-3887dad3acd2d97b8ea329afe3d54d1b211ea8e4.tar.gz
Fixed memory leak on close.
Diffstat (limited to 'html.c')
-rw-r--r--html.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/html.c b/html.c
index f3c09f24..dba49121 100644
--- a/html.c
+++ b/html.c
@@ -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);
}