summaryrefslogtreecommitdiff
path: root/gs/src/gsistate.c
diff options
context:
space:
mode:
Diffstat (limited to 'gs/src/gsistate.c')
-rw-r--r--gs/src/gsistate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gs/src/gsistate.c b/gs/src/gsistate.c
index d3749176c..15eeafd38 100644
--- a/gs/src/gsistate.c
+++ b/gs/src/gsistate.c
@@ -125,7 +125,7 @@ gs_imager_state_initialize(gs_imager_state * pis, gs_memory_t * mem)
mem, return_error(gs_error_VMerror),
"gs_imager_state_init(transfer)", 1);
pis->set_transfer.gray->proc = imager_null_transfer;
- pis->set_transfer.gray->id = gs_next_ids(1);
+ pis->set_transfer.gray->id = gs_next_ids(pis->memory, 1);
pis->set_transfer.gray->values[0] = frac_0;
pis->set_transfer.red =
pis->set_transfer.green =