>Does the following code have a memory leak ?
It won't compile:
pnt.l1 := 1;
pnt.l2 := 'a';
Those fields are not in the record definition. For the rest, if there are no
exceptions, it should not have a memory leak, since everything you create,
is disposed off as well. But, why do you ask?
Peter Laman
Senior Software Engineer
Lance ICT Group
Roermond, the Netherlands
http://www.lance-safety.com
----
----
__________________________________________________
Delphi-Talk mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi-talk