diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2013-02-19 16:40:58 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2013-02-19 18:46:46 +0100 |
commit | 55d60e4fc9460d889f27fd06610309e0f748b825 (patch) | |
tree | be549dc481a5a15e6a30a1c832c3518896026119 /fitz | |
parent | 333b1ef069011af06c8c6821e2091b19e9a5151f (diff) | |
download | mupdf-55d60e4fc9460d889f27fd06610309e0f748b825.tar.xz |
Bug 693639: fix incomplete error handling in null device.
Thanks to zeniko.
Diffstat (limited to 'fitz')
-rw-r--r-- | fitz/dev_null.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fitz/dev_null.c b/fitz/dev_null.c index 14625342..4a32d4b9 100644 --- a/fitz/dev_null.c +++ b/fitz/dev_null.c @@ -178,6 +178,7 @@ fz_pop_clip(fz_device *dev) dev->error_depth--; if (dev->error_depth == 0) fz_throw(dev->ctx, "%s", dev->errmess); + return; } if (dev->pop_clip) dev->pop_clip(dev); @@ -303,6 +304,7 @@ fz_end_group(fz_device *dev) dev->error_depth--; if (dev->error_depth == 0) fz_throw(dev->ctx, "%s", dev->errmess); + return; } if (dev->end_group) dev->end_group(dev); |