rev 12531 : 8171261: Stability fixes for lcms Reviewed-by: serb, vadim, mschoene
*** 1462,1471 **** --- 1462,1472 ---- } else { // LUT optimizes to nothing. Set the identity LUT cmsStageFree(ObtainedCurves); + ObtainedCurves = NULL; if (!cmsPipelineInsertStage(Dest, cmsAT_BEGIN, cmsStageAllocIdentity(Dest ->ContextID, Src ->InputChannels))) goto Error; *dwFlags |= cmsFLAGS_NOCACHE;