diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2015-02-17 20:39:24 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2015-02-17 20:39:24 +0100 |
commit | 2ea1295e49e3e7a0873aac5a6345dd5759760d77 (patch) | |
tree | b1e1ff6360c670da8872a95fb6246ff8aae33185 /source/pdf/js/pdf-js.c | |
parent | 31186b61d979ba02c04ce68dcb66f7a5f1229c93 (diff) | |
download | mupdf-2ea1295e49e3e7a0873aac5a6345dd5759760d77.tar.xz |
Fix memory leak in fz_page.
Diffstat (limited to 'source/pdf/js/pdf-js.c')
-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 008cebfb..84a14381 100644 --- a/source/pdf/js/pdf-js.c +++ b/source/pdf/js/pdf-js.c @@ -338,6 +338,7 @@ static pdf_jsimp_obj *field_getValue(void *jsctx, void *obj) return NULL; fval = pdf_field_value(js->ctx, js->doc, field); + /* TODO: free fval! */ return pdf_jsimp_from_string(js->imp, fval?fval:""); } |