diff options
author | Sam James <sam@gentoo.org> | 2022-09-21 14:18:08 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-10-02 04:31:25 +0100 |
commit | a529111f77ff46f4836fe7312e70953bc16587cf (patch) | |
tree | 9dc3924cb1a6ef3ef853b7bb45f735365e0b4e6d /base/gxclist.c | |
parent | Import Ghostscript 9.56.1 (diff) | |
download | ghostscript-gpl-patches-ghostscript-10.tar.gz ghostscript-gpl-patches-ghostscript-10.tar.bz2 ghostscript-gpl-patches-ghostscript-10.zip |
Import Ghostscript 10.0ghostscript-10.0ghostscript-10
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'base/gxclist.c')
-rw-r--r-- | base/gxclist.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/base/gxclist.c b/base/gxclist.c index 3b778f53..488875ba 100644 --- a/base/gxclist.c +++ b/base/gxclist.c @@ -174,6 +174,7 @@ clist_initialize_device_procs(gx_device *dev) set_dev_proc(dev, copy_alpha_hl_color, clist_copy_alpha_hl_color); set_dev_proc(dev, process_page, clist_process_page); set_dev_proc(dev, fill_stroke_path, clist_fill_stroke_path); + set_dev_proc(dev, lock_pattern, clist_lock_pattern); } /*------------------- Choose the implementation ----------------------- @@ -708,6 +709,7 @@ clist_open(gx_device *dev) errxit: /* prevent leak */ gs_free_object(cdev->memory->non_gc_memory, cdev->cache_chunk, "free tile cache for clist"); + dev->is_open = save_is_open; cdev->cache_chunk = NULL; return code; } @@ -1543,5 +1545,7 @@ open_c: pdev->buf = NULL; } } + if (code < 0) + pdev->is_open = save_is_open; return code; } |