From d5ddd5be7fd5178d30fe4b90baf8ffcb86c770ad Mon Sep 17 00:00:00 2001 From: Paul Gardiner Date: Mon, 16 Dec 2013 17:10:09 +0000 Subject: javascript: fix missing type destruction --- source/pdf/js/pdf-js.c | 1 + 1 file changed, 1 insertion(+) 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); -- cgit v1.2.3