diff options
author | Paul Gardiner <paul.gardiner@artifex.com> | 2013-12-16 17:10:09 +0000 |
---|---|---|
committer | Paul Gardiner <paul.gardiner@artifex.com> | 2013-12-16 17:33:15 +0000 |
commit | d5ddd5be7fd5178d30fe4b90baf8ffcb86c770ad (patch) | |
tree | 7f11e416a2e43f2f4af1446c32bad1303e607ae2 | |
parent | ad83e625f89b4b7ab09cf85d11d6bca60c2b0e48 (diff) | |
download | mupdf-d5ddd5be7fd5178d30fe4b90baf8ffcb86c770ad.tar.xz |
javascript: fix missing type destruction
-rw-r--r-- | source/pdf/js/pdf-js.c | 1 |
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); |