I have an array like this:
type
TSomeRecord = Packed Record
field1: integer;
field2: string[32];
field3: boolean;
End;
var
SomeRecord: Array Of TSomeRecord;
On form creation I'm using SetLength and populating the SomeRecord with more than 1000 elements.
My question here: do I need to free SomeRecord on form destroy, or will Delphi take care of it automatically?