I'm using an dynamic array, something like this:
type
TListRec_part = record
Z1,Z2: string[10];
end;
TListRec = record
X1: integer;
X2: string[20];
X3: array of TListRec_part;
end;
var
List_complet: array of TListRec;
When is no need of this structures, I want to free memory.
I was try
SetLength(List_complet,0);
or
List_complet:=nil;
or
SetLength(List_complet[1].X3,0);
but it gives me an error (Externel:SIGSEGV).
How I may free memory used by this structure?
Thx.