Hello I have a list of type TList
. I fill it with pointer to records which are created with new
.
One of my coworkers told me that freeing the list will free all elements, but I have my doubts because I'm use to C. So does Delphi 7 have some sort of garbage collection and I really don't have to free each element? Can someone explain to me how that works?
New
andDispose
; just SetLength, ét voila. – Lemaster