diff options
Diffstat (limited to 'pdf')
-rw-r--r-- | pdf/pdf_page.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pdf/pdf_page.c b/pdf/pdf_page.c index f2bf713e..de8e7051 100644 --- a/pdf/pdf_page.c +++ b/pdf/pdf_page.c @@ -277,6 +277,7 @@ pdf_load_page_contents_array(pdf_document *xref, fz_obj *list) fz_drop_buffer(ctx, big); fz_throw(ctx, "cannot load content stream"); } + fz_trim_buffer(ctx, big); return big; } |