summaryrefslogtreecommitdiff
path: root/source/html/html-doc.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/html/html-doc.c')
-rw-r--r--source/html/html-doc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/html/html-doc.c b/source/html/html-doc.c
index 531e61c4..688a9f88 100644
--- a/source/html/html-doc.c
+++ b/source/html/html-doc.c
@@ -20,6 +20,7 @@ static void
htdoc_close_document(html_document *doc)
{
fz_close_archive(doc->ctx, doc->zip);
+ fz_free_html(doc->ctx, doc->box);
fz_free_html_font_set(doc->ctx, doc->set);
fz_free(doc->ctx, doc);
}