diff options
Diffstat (limited to 'pdf/pdf_device.c')
-rw-r--r-- | pdf/pdf_device.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pdf/pdf_device.c b/pdf/pdf_device.c index ecd3cd3f..602a778f 100644 --- a/pdf/pdf_device.c +++ b/pdf/pdf_device.c @@ -813,6 +813,7 @@ pdf_dev_new_form(pdf_obj **form_ref, pdf_device *pdev, const fz_rect *bbox, int } fz_catch(ctx) { + pdf_drop_obj(form); fz_rethrow(ctx); } |