diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-09-20 13:43:31 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-09-20 13:43:31 +0000 |
commit | 3887dad3acd2d97b8ea329afe3d54d1b211ea8e4 (patch) | |
tree | 022d29c7857c70aea80f4b0cd137901dcc0dfcdf /html.c | |
parent | e626207b0ab55498eb23b25fee41c504d6be0218 (diff) | |
download | mandoc-3887dad3acd2d97b8ea329afe3d54d1b211ea8e4.tar.gz |
Fixed memory leak on close.
Diffstat (limited to 'html.c')
-rw-r--r-- | html.c | 3 |
1 files changed, 3 insertions, 0 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); } |