[gs-cvs] rev 8838 - trunk/gs/src
henrys at ghostscript.com
henrys at ghostscript.com
Sun Jul 13 15:06:20 PDT 2008
Author: henrys
Date: 2008-07-13 15:06:19 -0700 (Sun, 13 Jul 2008)
New Revision: 8838
Modified:
trunk/gs/src/gdevrops.c
Log:
Rop devices now require access to an allocator instance. Fixes crash
in running pxl fts file T326.BIN with a halftoning device. The bug
was reported by a potential customer and a bugzilla report was never
filed.
Modified: trunk/gs/src/gdevrops.c
===================================================================
--- trunk/gs/src/gdevrops.c 2008-07-12 01:43:13 UTC (rev 8837)
+++ trunk/gs/src/gdevrops.c 2008-07-13 22:06:19 UTC (rev 8838)
@@ -130,7 +130,7 @@
{
gx_device_init((gx_device *) dev,
(const gx_device *)&gs_rop_texture_device,
- NULL, true);
+ (target ? target->memory : NULL), true);
gx_device_set_target((gx_device_forward *)dev, target);
/* Drawing operations are defaulted, non-drawing are forwarded. */
check_device_separable((gx_device *) dev);
More information about the gs-cvs
mailing list