Re: [Lazarus] typinfo routine gives memory leak

2011-09-21 Thread Howard Page-Clark
On 20/9/11 10:02, Martin wrote: On 20/09/2011 21:59, Howard Page-Clark wrote: The following (button and memo) program loses 276 bytes heap memory that are not recovered. ... procedure TForm1.BGetPropertiesClick(Sender: TObject); var ppl: PPropList; pl: TPropList; ppi: PPropInfo; pi:

[Lazarus] typinfo routine gives memory leak

2011-09-20 Thread Howard Page-Clark
The following (button and memo) program loses 276 bytes heap memory that are not recovered. unit Unit1; {$mode objfpc}{$H+} interface uses Forms, StdCtrls; type TForm1 = class(TForm) BGetProperties: TButton; Memo1: TMemo; procedure BGetPropertiesClick(Sender: TObject);

Re: [Lazarus] typinfo routine gives memory leak

2011-09-20 Thread Martin
On 20/09/2011 21:59, Howard Page-Clark wrote: The following (button and memo) program loses 276 bytes heap memory that are not recovered. ... procedure TForm1.BGetPropertiesClick(Sender: TObject); var ppl: PPropList; pl: TPropList; ppi: PPropInfo; pi: TPropInfo; begin