summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenry Stiles <henry.stiles@artifex.com>2016-08-26 12:12:37 -0600
committerHenry Stiles <henry.stiles@artifex.com>2016-08-26 12:12:37 -0600
commit2f18c60fd2aa43f59fbf197463aca30ea3a0bc2d (patch)
tree82f444380c0d5ecbc4455fd0ae1b1cebbcd28ddc
parent124e9f44c03cc0d3773d18708ee285b75cb12c04 (diff)
downloadghostpdl-2f18c60fd2aa43f59fbf197463aca30ea3a0bc2d.tar.gz
Fix 697030 - Interpreter exit.
If the vector device's begin image procedure fails fallback to using the default image code instead of producing an error.
-rw-r--r--devices/vector/gdevpx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/devices/vector/gdevpx.c b/devices/vector/gdevpx.c
index c11da6888..7a75832b9 100644
--- a/devices/vector/gdevpx.c
+++ b/devices/vector/gdevpx.c
@@ -2088,7 +2088,7 @@ pclxl_begin_image(gx_device * dev,
&pclxl_image_enum_procs,
(gdev_vector_image_enum_t *) pie);
if (code < 0)
- return code;
+ goto fail;
/* emit a PXL XL rotation and adjust mat correspondingly */
pie->flipped = false;