summaryrefslogtreecommitdiff
path: root/source/html/html-doc.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2014-11-26 16:27:20 +0100
committerTor Andersson <tor.andersson@artifex.com>2014-12-03 12:25:52 +0100
commitc4a45e25b92269e9e44594fd410b272718d939bc (patch)
treeee5b6580818fb7e3dbc62d97f761f24d16bde17b /source/html/html-doc.c
parentff7694216fa480c7424b2b6698d08104a7b80e89 (diff)
downloadmupdf-c4a45e25b92269e9e44594fd410b272718d939bc.tar.xz
html: Free css structures.
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);
}