8081756: Mastering Matrix Manipulations

Reviewed-by: serb, bae, mschoene
This commit is contained in:
Phil Race 2015-06-10 12:43:18 -07:00
parent b8c821dfbc
commit 3187c1a8fb

View File

@ -260,7 +260,9 @@ cmsBool _MultiplyMatrix(cmsPipeline* Lut)
cmsStage* Multmat = cmsStageAllocMatrix(Lut->ContextID, 3, 3, (const cmsFloat64Number*) &res, NULL);
// Recover the chain
Multmat->Next = chain;
if (Multmat != NULL) {
Multmat->Next = chain;
}
*pt1 = Multmat;
}