summaryrefslogtreecommitdiff
path: root/source/pdf
diff options
context:
space:
mode:
Diffstat (limited to 'source/pdf')
-rw-r--r--source/pdf/pdf-xref.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/pdf/pdf-xref.c b/source/pdf/pdf-xref.c
index b1b9abe8..9c408051 100644
--- a/source/pdf/pdf-xref.c
+++ b/source/pdf/pdf-xref.c
@@ -568,6 +568,7 @@ pdf_read_new_xref(pdf_document *doc, pdf_lexbuf *buf)
}
fz_catch(ctx)
{
+ pdf_drop_obj(trailer);
fz_rethrow_message(ctx, "cannot parse compressed xref stream object");
}