Skip to content

Commit

Permalink
Merge pull request #437 from rhalade/pr-436
Browse files Browse the repository at this point in the history
Possible NPD in cmsCreate_OkLabProfile
Looks great, thank you!
  • Loading branch information
mm2 authored Feb 7, 2024
2 parents 0233a32 + 5a49749 commit 209fa2e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/cmsvirt.c
Original file line number Diff line number Diff line change
Expand Up @@ -745,6 +745,8 @@ cmsHPROFILE CMSEXPORT cmsCreate_OkLabProfile(cmsContext ctx)
cmsPipeline* BToA = cmsPipelineAlloc(ctx, 3, 3);

cmsHPROFILE hProfile = cmsCreateProfilePlaceholder(ctx);
if (!hProfile) // can't allocate
goto error;

cmsSetProfileVersion(hProfile, 4.4);

Expand Down

0 comments on commit 209fa2e

Please sign in to comment.