FIX: memory leaks in TPixMapManager.CheckAddFileUniqueIcon() on macOS

This commit is contained in:
rich2014 2026-01-20 18:36:24 +08:00
commit da809f4be8

View file

@ -1268,6 +1268,7 @@ begin
image:= getBestNSImageWithSize(image, AIconSize);
bmpBitmap:= NSImageToTBitmap(image);
image.release;
fileIndex := FPixmapsFileNames.Find(key);
if fileIndex >= 0 then begin