diff options
author | Robin Watts <robin.watts@artifex.com> | 2012-02-09 13:20:23 +0000 |
---|---|---|
committer | Robin Watts <robin@ghostscript.com> | 2012-02-09 13:24:04 +0000 |
commit | cba6fa1404cf61a6229318415801557e80c6f779 (patch) | |
tree | 35a639a1259e393c2776a41d738024d3295e8372 /pdf | |
parent | 14cd04d23c6fd4bc7093c5fcb25382ef77fcff95 (diff) | |
download | mupdf-cba6fa1404cf61a6229318415801557e80c6f779.tar.xz |
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.
Diffstat (limited to 'pdf')
-rw-r--r-- | pdf/pdf_stream.c | 1 |
1 files changed, 0 insertions, 1 deletions
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; } |