Reported: 0026959: Memleak in TFHttpClient - Free Pascal/Lazarus Bug Tracker

 
 
Leonardo M. Ramé 
http://leonardorame.blogspot.com


________________________________
 From: Michael Van Canneyt <mich...@freepascal.org>
To: FPC developers' list <fpc-devel@lists.freepascal.org> 
Sent: Tuesday, October 28, 2014 10:58 AM
Subject: Re: [fpc-devel] Memleak in TFPHttpClient?
 



Strange. 
I have debugged it for memory leaks in the past, and fixed all reported leaks.

Please report a bug on the bugtracker. if possible, attach the output of 
heaptrc.

Michael.


On Tue, 28 Oct 2014, Leonardo M. Ramé wrote:

> 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  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to