Do not call Clear in TStringList.Destroy
Original Reporter info from Mantis: luizamerico
-
Reporter name: Luiz Americo
Original Reporter info from Mantis: luizamerico
- Reporter name: Luiz Americo
Description:
In revision 20265 a call to Clear was added to TStringList.Destroy
I tested in Delphi and is Clear is not called after calling Destroy.
Furthermore this is leading to crashes in third party components (zeos)
Attached a patch, a demo, and a test suited to fpc test suite