Fix: Cocoa: memory leaks in TCocoaContext

This commit is contained in:
rich2014 2023-05-13 20:35:58 +08:00
parent 1cd7e73f0f
commit 4169dd097b

View File

@ -2228,6 +2228,7 @@ begin
Size.cy := Round(height);
finally
CFRelease(CoreLine);
CFRelease(AttribStr);
end;
end;
S.release;