hi i'm trying to put a record into TStringList.

type
 TARecord = record
   s: String[5];
 end;

var
 rec: TARecord;
begin
  GetMem(rec, SizeOf(TARecord));
  StringList.AddObject('', rec);
end;


my question is, do i have to freemem each record in tstringlist?

thanks in advance

Reply via email to