diff options
-rw-r--r-- | mupdf/pdf_shade1.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/mupdf/pdf_shade1.c b/mupdf/pdf_shade1.c index a5e4f99e..4280a2c6 100644 --- a/mupdf/pdf_shade1.c +++ b/mupdf/pdf_shade1.c @@ -57,9 +57,6 @@ pdf_loadtype1shade(fz_shade *shade, pdf_xref *xref, fz_obj *dict, fz_obj *ref) shade->usefunction = 0; - if (error) - return error; - shade->meshlen = NSEGS * NSEGS * 2; shade->mesh = fz_malloc(sizeof(float) * (2 + shade->cs->n) * 3 * shade->meshlen); if (!shade->mesh) |