Hi, I was trying to find a memory leak in one of my apps, and found the cause
was TFPHttpClient. To reproduce the issue, just compile this simple program
with "-gh" and run.
I used Free Pascal Compiler version 2.7.1 [2014/10/17] for x86_64
program test;
{$mode objfpc}
uses
classes,
fphttpclient;
var
lHttp: TFPHttpClient;
begin
lHttp := TFPHttpClient.create(nil);
try
lHttp.Get('some.web.site');
finally
lHttp.Free;
end;
end.
Leonardo M. Ramé
http://leonardorame.blogspot.com_______________________________________________
fpc-devel maillist - [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel