summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorPaul Gardiner <paul.gardiner@artifex.com>2013-12-16 17:10:09 +0000
committerPaul Gardiner <paul.gardiner@artifex.com>2013-12-16 17:33:15 +0000
commitd5ddd5be7fd5178d30fe4b90baf8ffcb86c770ad (patch)
tree7f11e416a2e43f2f4af1446c32bad1303e607ae2 /source
parentad83e625f89b4b7ab09cf85d11d6bca60c2b0e48 (diff)
downloadmupdf-d5ddd5be7fd5178d30fe4b90baf8ffcb86c770ad.tar.xz
javascript: fix missing type destruction
Diffstat (limited to 'source')
-rw-r--r--source/pdf/js/pdf-js.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/pdf/js/pdf-js.c b/source/pdf/js/pdf-js.c
index d801716a..04cef9d7 100644
--- a/source/pdf/js/pdf-js.c
+++ b/source/pdf/js/pdf-js.c
@@ -854,6 +854,7 @@ void pdf_drop_js(pdf_js *js)
fz_context *ctx = js->doc->ctx;
fz_free(ctx, js->event.value);
pdf_jsimp_drop_type(js->imp, js->apptype);
+ pdf_jsimp_drop_type(js->imp, js->eventtype);
pdf_jsimp_drop_type(js->imp, js->fieldtype);
pdf_jsimp_drop_type(js->imp, js->doctype);
pdf_drop_jsimp(js->imp);