summaryrefslogtreecommitdiff
path: root/source/html
diff options
context:
space:
mode:
Diffstat (limited to 'source/html')
-rw-r--r--source/html/epub-doc.c1
-rw-r--r--source/html/html-doc.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/source/html/epub-doc.c b/source/html/epub-doc.c
index fbcc1a86..efa43075 100644
--- a/source/html/epub-doc.c
+++ b/source/html/epub-doc.c
@@ -219,7 +219,6 @@ epub_drop_document(fz_context *ctx, fz_document *doc_)
fz_drop_outline(ctx, doc->outline);
fz_free(ctx, doc->dc_title);
fz_free(ctx, doc->dc_creator);
- fz_free(ctx, doc);
}
static const char *
diff --git a/source/html/html-doc.c b/source/html/html-doc.c
index fdd087dc..90de5c82 100644
--- a/source/html/html-doc.c
+++ b/source/html/html-doc.c
@@ -29,7 +29,6 @@ htdoc_drop_document(fz_context *ctx, fz_document *doc_)
fz_drop_archive(ctx, doc->zip);
fz_drop_html(ctx, doc->box);
fz_drop_html_font_set(ctx, doc->set);
- fz_free(ctx, doc);
}
static int