[gs-commits] rev 10967 - branches/icc_work/psi
mvrhel at ghostscript.com
mvrhel at ghostscript.com
Wed Mar 24 18:31:07 UTC 2010
Author: mvrhel
Date: 2010-03-24 18:31:06 +0000 (Wed, 24 Mar 2010)
New Revision: 10967
Modified:
branches/icc_work/psi/zcie.c
Log:
Fixes GC errors with PS files that have DEF/G tables. Since the color spaces for these objects are currently cached, the tables have to be stored in stable memory. This will change when I fix the cache to only store the profiles and not the color spaces. This should fix several errors.
Modified: branches/icc_work/psi/zcie.c
===================================================================
--- branches/icc_work/psi/zcie.c 2010-03-24 18:10:21 UTC (rev 10966)
+++ branches/icc_work/psi/zcie.c 2010-03-24 18:31:06 UTC (rev 10967)
@@ -196,7 +196,7 @@
nbytes = m * pclt->dims[n - 2] * pclt->dims[n - 1];
if (n == 3) {
table =
- gs_alloc_struct_array(mem, pclt->dims[0], gs_const_string,
+ gs_alloc_struct_array(mem->stable_memory, pclt->dims[0], gs_const_string,
&st_const_string_element, "cie_table_param");
if (table == 0)
return_error(e_VMerror);
@@ -210,7 +210,7 @@
if (r_size(pta + 4) != d0)
return_error(e_rangecheck);
table =
- gs_alloc_struct_array(mem, ntables, gs_const_string,
+ gs_alloc_struct_array(mem->stable_memory, ntables, gs_const_string,
&st_const_string_element, "cie_table_param");
if (table == 0)
return_error(e_VMerror);
More information about the gs-commits
mailing list