Bryan Smith mentioned this to All:
BS> Maybe somebody can clear up my confusion. I somehow got the impression
BS> that in Delphi/Windows, unlike TP/DOS, any memory allocated dynamically
BS> with GetMem() or New() is not automatically returned to the system when
BS> the program exits. In other words, in Delphi, you have to free it
BS> yourself with FreeMem/Dispose.
Windows will automatically free allocated memory when a program exits
properly.
That doesn't mean that you should not do your own release of memory.
...Gary
--- GoldED 2.41
---------------
* Origin: The Flying Circus BBS, Farmington Hills, MI. (1:2410/905)
|