summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Vrhel <michael.vrhel@artifex.com>2021-09-03 11:02:43 -0700
committerMichael Vrhel <michael.vrhel@artifex.com>2021-09-03 11:03:10 -0700
commit2dec4436d2ab5674bf7996ce7928bc1ceefe7f49 (patch)
tree41534ea665f9a99bbaefb19077b7e47a2855463d
parent1453c89af413e10e4bd3ce9716057c2ee5039336 (diff)
downloadghostpdl-2dec4436d2ab5674bf7996ce7928bc1ceefe7f49.tar.gz
Fix code merge mistake.
-rw-r--r--base/gsicc_lcms2mt.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/base/gsicc_lcms2mt.c b/base/gsicc_lcms2mt.c
index b412d481a..b0d854051 100644
--- a/base/gsicc_lcms2mt.c
+++ b/base/gsicc_lcms2mt.c
@@ -677,10 +677,7 @@ gscms_get_link(gcmmhprofile_t lcms_srchandle, gcmmhprofile_t lcms_deshandle,
rendering_params->rendering_intent,
flag | cmm_flags);
if (link_handle->hTransform == NULL) {
-
int k;
- gs_free_object(memory, link_handle, "gscms_get_link");
- return NULL;
/* Add a bit of robustness here. Some profiles are ill-formed and
do not have all the intents. If we failed due to a missing