From 2dec4436d2ab5674bf7996ce7928bc1ceefe7f49 Mon Sep 17 00:00:00 2001 From: Michael Vrhel Date: Fri, 3 Sep 2021 11:02:43 -0700 Subject: Fix code merge mistake. --- base/gsicc_lcms2mt.c | 3 --- 1 file changed, 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 -- cgit v1.2.1