summaryrefslogtreecommitdiff
path: root/pdf/pdf_colorspace.c
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2012-03-01 14:45:44 +0000
committerRobin Watts <robin@ghostscript.com>2012-03-01 15:30:34 +0000
commit152ce17e73ab54e0f619ec2088b34a4a5e53f421 (patch)
treeb21b10da8047e69c18fbe73dc6c83fd2b6a833fb /pdf/pdf_colorspace.c
parent2ec4dae7c4c1b91f15651573988e8eadf26a81a0 (diff)
downloadmupdf-152ce17e73ab54e0f619ec2088b34a4a5e53f421.tar.xz
Remove mask entry from fz_pixmap as never used any more.
Also, the attempts to keep it up to date were causing race conditions in multithreading cases.
Diffstat (limited to 'pdf/pdf_colorspace.c')
-rw-r--r--pdf/pdf_colorspace.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/pdf/pdf_colorspace.c b/pdf/pdf_colorspace.c
index 0e9423b4..05d0c135 100644
--- a/pdf/pdf_colorspace.c
+++ b/pdf/pdf_colorspace.c
@@ -210,8 +210,6 @@ pdf_expand_indexed_pixmap(fz_context *ctx, fz_pixmap *src)
}
}
- if (src->mask)
- dst->mask = fz_keep_pixmap(ctx, src->mask);
dst->interpolate = src->interpolate;
return dst;