Hello FPC-Pascal,

Monday, May 24, 2010, 8:43:08 PM, you wrote:

MD> Okay, but if there is not memory leaks...
MD> I ever free my objects! But I did not know about no memory leaks in
MD> CGI programs...

There are no memory leaks once the program finishes, the OS releases
all requested memory blocks, but any memory leak at close time is a
potential runtime memory hole:

while true do begin
  S:=TStringList.Create();
  [....]
end;

;) So if a program is free of memory leaks at close time it is quite
sure you will not get any runtime memory black hole.

-- 
Best regards,
 José

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to