diff options
author | Alex Cherepanov <alex@coscript.biz> | 2021-09-02 18:55:42 -0700 |
---|---|---|
committer | Ray Johnston <ray.johnston@artifex.com> | 2021-09-02 18:55:42 -0700 |
commit | 2c205c68593f63701c5ba40ec2bad07121fdf4a4 (patch) | |
tree | a696fa603d93ea296d9ab1c109520d1d640f4fb4 /lib | |
parent | 12c8f9908f35f486d346c1bb9bfc4b6489585c8f (diff) | |
download | ghostpdl-2c205c68593f63701c5ba40ec2bad07121fdf4a4.tar.gz |
Fix Bug 703916 - Clean up the operand stack in all cases.
Thanks to Alex for this patch.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/viewgif.ps | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/viewgif.ps b/lib/viewgif.ps index a261bf7e6..f017688e1 100644 --- a/lib/viewgif.ps +++ b/lib/viewgif.ps @@ -42,7 +42,9 @@ GlobalColor { PaletteSize 3 mul string readstring pop /GlobalPalette exch def - } if + } { + pop + } ifelse currentdict end } bind def |