[lazarus] Memoryleak in TCheckCompilerOptsDlg

Mattias Gaertner nc-gaertnma at netcologne.de
Sun Aug 17 08:48:33 EDT 2003


On Sun, 17 Aug 2003 13:56:33 +0200
Vincent Snijders <vslist at zonnet.nl> wrote:

> Hi,
> 
> FDirectories of TCheckCompilerOptsDlg isn't freed in the destructor.
> 
> Please add the following lines to TCheckCompilerOptsDlg.Destroy:
>   if FDirectories<>nil
>     then FreeThenNil(FDirectories);

:)
I had only started this thing. It does not yet check anything useful. 


Mattias






More information about the Lazarus mailing list