summaryrefslogtreecommitdiff
path: root/gs/src/gsht.c
diff options
context:
space:
mode:
Diffstat (limited to 'gs/src/gsht.c')
-rw-r--r--gs/src/gsht.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gs/src/gsht.c b/gs/src/gsht.c
index 7494d2df6..548dedc43 100644
--- a/gs/src/gsht.c
+++ b/gs/src/gsht.c
@@ -962,7 +962,7 @@ gx_imager_dev_ht_install(
/* construct the new device halftone structure */
memset(&dht.order, 0, sizeof(dht.order));
/* the rc field is filled in later */
- dht.id = gs_next_ids(1);
+ dht.id = gs_next_ids(pis->memory, 1);
dht.type = type;
dht.components = gs_alloc_struct_array(
pis->memory,
@@ -1104,7 +1104,7 @@ gx_imager_dev_ht_install(
code = gs_error_VMerror;
else {
porder->cache = pcache;
- gx_ht_init_cache(pcache, porder);
+ gx_ht_init_cache(pis->memory, pcache, porder);
}
}
}