From cba6fa1404cf61a6229318415801557e80c6f779 Mon Sep 17 00:00:00 2001 From: Robin Watts Date: Thu, 9 Feb 2012 13:20:23 +0000 Subject: Remove stray lock call. I made a last minute change to make pdf_open_filter do the locking, and forgot to remove the call to lock from pdf_open_stream_with_offset. Fixed here. Thanks to Radu Lazar for pointing this out. --- pdf/pdf_stream.c | 1 - 1 file changed, 1 deletion(-) (limited to 'pdf') diff --git a/pdf/pdf_stream.c b/pdf/pdf_stream.c index a01bab55..c66e703e 100644 --- a/pdf/pdf_stream.c +++ b/pdf/pdf_stream.c @@ -318,7 +318,6 @@ pdf_open_stream_with_offset(pdf_document *xref, int num, int gen, fz_obj *dict, fz_throw(xref->ctx, "object is not a stream"); stm = pdf_open_filter(xref->file, xref, dict, num, gen); - fz_lock_stream(stm); fz_seek(xref->file, stm_ofs, 0); return stm; } -- cgit v1.2.3