OLD | NEW |
(Empty) | |
| 1 diff --git a/third_party/lcms2-2.6/src/cmsopt.c b/third_party/lcms2-2.6/src/cmso
pt.c |
| 2 index f885ef3..684910d 100644 |
| 3 --- a/third_party/lcms2-2.6/src/cmsopt.c |
| 4 +++ b/third_party/lcms2-2.6/src/cmsopt.c |
| 5 @@ -612,7 +612,7 @@ cmsBool OptimizeByResampling(cmsPipeline** Lut, cmsUInt32Num
ber Intent, cmsUInt3 |
| 6 |
| 7 // Allocate the CLUT |
| 8 CLUT = cmsStageAllocCLut16bit(Src ->ContextID, nGridPoints, Src ->InputChan
nels, Src->OutputChannels, NULL); |
| 9 - if (CLUT == NULL) return FALSE; |
| 10 + if (CLUT == NULL) goto Error; |
| 11 |
| 12 // Add the CLUT to the destination LUT |
| 13 if (!cmsPipelineInsertStage(Dest, cmsAT_END, CLUT)) { |
OLD | NEW |