summaryrefslogtreecommitdiff
path: root/source/pdf
diff options
context:
space:
mode:
Diffstat (limited to 'source/pdf')
-rw-r--r--source/pdf/pdf-appearance.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/pdf/pdf-appearance.c b/source/pdf/pdf-appearance.c
index 51064f0d..1c0189c7 100644
--- a/source/pdf/pdf-appearance.c
+++ b/source/pdf/pdf-appearance.c
@@ -1175,6 +1175,7 @@ void pdf_update_text_appearance(fz_context *ctx, pdf_document *doc, pdf_obj *obj
}
fz_always(ctx)
{
+ pdf_drop_obj(ctx, form);
fz_free(ctx, text);
fz_drop_buffer(ctx, fzbuf);
font_info_fin(ctx, &info.font_rec);