RFR: 8282577: ICC_Profile.setData(int, byte[]) invalidates the profile [v3]

Phil Race prr at openjdk.java.net
Wed Mar 9 22:23:42 UTC 2022


On Wed, 9 Mar 2022 22:20:08 GMT, Phil Race <prr at openjdk.org> wrote:

>> src/java.desktop/share/native/liblcms/LCMS.c line 765:
>> 
>>> 763:         // The profile we used for sanity checking needs to be returned
>>> 764:         // since the one we updated is raw - not cooked.
>>> 765:         cmsCloseProfile(p);
>> 
>> Looks like now we close this profile in all branches, so can we do that just above the "if (pfSanity == NULL)"?
>
> Ok

Ok

-------------

PR: https://git.openjdk.java.net/jdk/pull/7668



More information about the client-libs-dev mailing list