summaryrefslogtreecommitdiff
path: root/source/pdf/pdf-stream.c
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@gmail.com>2018-02-03 01:21:14 +0100
committerSebastian Rasmussen <sebras@gmail.com>2018-02-06 13:27:45 +0100
commitdca5cca4e129ab1e424ec86f5ceb325e7ee3d8cd (patch)
tree175a37a7948e5ee45995f34d24e91803cb761980 /source/pdf/pdf-stream.c
parent86b5034359a45254e1f07eca84469db0d44005ad (diff)
downloadmupdf-dca5cca4e129ab1e424ec86f5ceb325e7ee3d8cd.tar.xz
Bug 698986: Remember to fz_var() variable dropped in fz_catch().
Diffstat (limited to 'source/pdf/pdf-stream.c')
-rw-r--r--source/pdf/pdf-stream.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/pdf/pdf-stream.c b/source/pdf/pdf-stream.c
index c6ba7ad3..fb517872 100644
--- a/source/pdf/pdf-stream.c
+++ b/source/pdf/pdf-stream.c
@@ -305,6 +305,8 @@ pdf_open_raw_filter(fz_context *ctx, fz_stream *chain, pdf_document *doc, pdf_ob
chain = fz_keep_stream(ctx, chain);
+ fz_var(chain);
+
fz_try(ctx)
{
len = pdf_to_int(ctx, pdf_dict_get(ctx, stmobj, PDF_NAME_Length));