diff options
author | Sebastian Rasmussen <sebras@gmail.com> | 2016-10-11 21:00:24 +0800 |
---|---|---|
committer | Sebastian Rasmussen <sebras@gmail.com> | 2016-10-12 01:53:15 +0800 |
commit | 91ac75c660d7d7100e4c55d63cbbd27729da351b (patch) | |
tree | 108c66ac09b9bf47a0548333e93da12d72ff584a /source/html | |
parent | 28d9c75ed780414a7ae71cab88cc86536444b255 (diff) | |
download | mupdf-91ac75c660d7d7100e4c55d63cbbd27729da351b.tar.xz |
Always call fz_drop_document() to drop the document.
Diffstat (limited to 'source/html')
-rw-r--r-- | source/html/epub-doc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/html/epub-doc.c b/source/html/epub-doc.c index efa43075..d9b0a0c9 100644 --- a/source/html/epub-doc.c +++ b/source/html/epub-doc.c @@ -463,7 +463,7 @@ epub_init(fz_context *ctx, fz_archive *zip) } fz_catch(ctx) { - epub_drop_document(ctx, (fz_document*)doc); + fz_drop_document(ctx, &doc->super); fz_rethrow(ctx); } |