summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--base/gxpcmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/gxpcmap.c b/base/gxpcmap.c
index 35d68d127..030004d48 100644
--- a/base/gxpcmap.c
+++ b/base/gxpcmap.c
@@ -1442,7 +1442,7 @@ gx_pattern_load(gx_device_color * pdc, const gs_gstate * pgs,
1442 } 1442 }
1443 dev_proc(adev, close_device)((gx_device *)adev); 1443 dev_proc(adev, close_device)((gx_device *)adev);
1444 /* adev was the target of the pdf14 device, so also is no longer retained */ 1444 /* adev was the target of the pdf14 device, so also is no longer retained */
1445 gx_device_retain(adev, false); /* device no longer retained */ 1445 gx_device_retain((gx_device *)adev, false); /* device no longer retained */
1446 } 1446 }
1447 dev_proc(saved->device, close_device)((gx_device *)saved->device); 1447 dev_proc(saved->device, close_device)((gx_device *)saved->device);
1448 /* Freeing the state should now free the device which may be the pdf14 compositor. */ 1448 /* Freeing the state should now free the device which may be the pdf14 compositor. */