[lazarus] Memoryleak in TCheckCompilerOptsDlg

Vincent Snijders vslist at zonnet.nl
Sun Aug 17 07:58:02 EDT 2003


Hi,

FDirectories of TCheckCompilerOptsDlg isn't freed in the destructor.

Please add the following lines to TCheckCompilerOptsDlg.Destroy:
  if FDirectories<>nil
    then FreeThenNil(FDirectories);

Vincent.








More information about the Lazarus mailing list