Merge pull request #7006 from hfiguiere/iplab2rgb-leak

iplab2rgb: Fix memory leak
This commit is contained in:
Lawrence37 2024-03-24 12:20:33 -07:00 committed by GitHub
commit 61019d0dc6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -351,6 +351,7 @@ Imagefloat* ImProcFunctions::lab2rgbOut(LabImage* lab, int cx, int cy, int cw, i
image->ExecCMSTransform(hTransform, *lab, cx, cy);
cmsDeleteTransform(hTransform);
cmsCloseProfile(iprof);
image->normalizeFloatTo65535();
} else {