From 66c2ddc228960b1c1d365bff3255c9c992acf757 Mon Sep 17 00:00:00 2001 From: Robin Watts Date: Tue, 15 Mar 2016 17:41:38 +0000 Subject: Avoid shadowing 'stm' variable. This leads to a leak. --- source/pdf/pdf-interpret.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/pdf/pdf-interpret.c b/source/pdf/pdf-interpret.c index 76804c03..715a0f12 100644 --- a/source/pdf/pdf-interpret.c +++ b/source/pdf/pdf-interpret.c @@ -1277,7 +1277,7 @@ pdf_process_glyph(fz_context *ctx, pdf_processor *proc, pdf_document *doc, pdf_o fz_try(ctx) { - fz_stream *stm = fz_open_buffer(ctx, contents); + stm = fz_open_buffer(ctx, contents); pdf_process_stream(ctx, proc, &csi, stm); pdf_process_end(ctx, proc, &csi); } -- cgit v1.2.3