Home
last modified time | relevance | path

Searched refs:NewGamma (Results 1 – 2 of 2) sorted by relevance

/external/pdfium/third_party/lcms/
D0010-memory-leak-Type_Curve_Read.patch6 NewGamma = cmsBuildTabulatedToneCurve16(self ->ContextID, Count, NULL);
7 if (!NewGamma) return NULL;
9 - if (!_cmsReadUInt16Array(io, Count, NewGamma -> Table16)) return NULL;
10 + if (!_cmsReadUInt16Array(io, Count, NewGamma -> Table16)) {
11 + cmsFreeToneCurve(NewGamma);
16 return NewGamma;
/external/pdfium/third_party/lcms/src/
Dcmstypes.c1089 cmsToneCurve* NewGamma; in Type_Curve_Read() local
1100 NewGamma = cmsBuildParametricToneCurve(self ->ContextID, 1, &SingleGamma); in Type_Curve_Read()
1101 if (!NewGamma) return NULL; in Type_Curve_Read()
1103 return NewGamma; in Type_Curve_Read()
1123 NewGamma = cmsBuildTabulatedToneCurve16(self ->ContextID, Count, NULL); in Type_Curve_Read()
1124 if (!NewGamma) return NULL; in Type_Curve_Read()
1126 if (!_cmsReadUInt16Array(io, Count, NewGamma -> Table16)) { in Type_Curve_Read()
1127 cmsFreeToneCurve(NewGamma); in Type_Curve_Read()
1132 return NewGamma; in Type_Curve_Read()
1210 cmsToneCurve* NewGamma; in Type_ParametricCurve_Read() local
[all …]