summaryrefslogtreecommitdiff
path: root/source/pdf/js
diff options
context:
space:
mode:
Diffstat (limited to 'source/pdf/js')
-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 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:"");
}