summaryrefslogtreecommitdiff
path: root/source/pdf/pdf-xref.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2015-12-16 16:03:52 +0100
committerTor Andersson <tor.andersson@artifex.com>2015-12-28 15:14:11 +0100
commit96a54896ee453a453b25a9c9e5c6ba8d0caba7cc (patch)
treec3f51cd8eefbe9bcb4b47732e646dafe13587c09 /source/pdf/pdf-xref.c
parent497d9f348c23ff0465147734bf5dcb548511b256 (diff)
downloadmupdf-96a54896ee453a453b25a9c9e5c6ba8d0caba7cc.tar.xz
Drop 'jsimp' abstraction and use mujs directly.
Diffstat (limited to 'source/pdf/pdf-xref.c')
-rw-r--r--source/pdf/pdf-xref.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/pdf/pdf-xref.c b/source/pdf/pdf-xref.c
index cb927725..50642ab4 100644
--- a/source/pdf/pdf-xref.c
+++ b/source/pdf/pdf-xref.c
@@ -1587,7 +1587,7 @@ pdf_close_document(fz_context *ctx, pdf_document *doc)
fz_purge_glyph_cache(ctx);
if (doc->js)
- doc->drop_js(doc->js);
+ pdf_drop_js(ctx, doc->js);
pdf_drop_xref_sections(ctx, doc);
fz_free(ctx, doc->xref_index);