summaryrefslogtreecommitdiff
path: root/third_party/lcms2-2.6/0007-memory-leak-OptimizeByResampling.patch
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/lcms2-2.6/0007-memory-leak-OptimizeByResampling.patch')
-rw-r--r--third_party/lcms2-2.6/0007-memory-leak-OptimizeByResampling.patch13
1 files changed, 0 insertions, 13 deletions
diff --git a/third_party/lcms2-2.6/0007-memory-leak-OptimizeByResampling.patch b/third_party/lcms2-2.6/0007-memory-leak-OptimizeByResampling.patch
deleted file mode 100644
index 2c55b94fa1..0000000000
--- a/third_party/lcms2-2.6/0007-memory-leak-OptimizeByResampling.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/third_party/lcms2-2.6/src/cmsopt.c b/third_party/lcms2-2.6/src/cmsopt.c
-index f885ef3..684910d 100644
---- a/third_party/lcms2-2.6/src/cmsopt.c
-+++ b/third_party/lcms2-2.6/src/cmsopt.c
-@@ -612,7 +612,7 @@ cmsBool OptimizeByResampling(cmsPipeline** Lut, cmsUInt32Number Intent, cmsUInt3
-
- // Allocate the CLUT
- CLUT = cmsStageAllocCLut16bit(Src ->ContextID, nGridPoints, Src ->InputChannels, Src->OutputChannels, NULL);
-- if (CLUT == NULL) return FALSE;
-+ if (CLUT == NULL) goto Error;
-
- // Add the CLUT to the destination LUT
- if (!cmsPipelineInsertStage(Dest, cmsAT_END, CLUT)) {