Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2003-08

Memoryleak in TCheckCompilerOptsDlg

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Vincent Snijders

Hi,

FDirectories of TCheckCompilerOptsDlg isn't freed in the destructor.

Please add the following lines to TCheckCompilerOptsDlg.Destroy: if FDirectoriesnil

    then FreeThenNil(FDirectories);

Vincent.

Reply by email