Re: [fpc-pascal] memory leak in TCustomSQLQuery.Create

2014-12-29 Thread Michael Van Canneyt
On Mon, 29 Dec 2014, Michael Van Ham wrote: Hello, In TCustomSQLQuery.Create, FRefreshSQL:TStringList is created on line 2095, but never freed. This causes a small memory leak. Please see the attached test program demonstrating the issue. Reported on the bugtracker here: http://bugs.freepa

[fpc-pascal] memory leak in TCustomSQLQuery.Create

2014-12-29 Thread Michael Van Ham
Hello, In TCustomSQLQuery.Create, FRefreshSQL:TStringList is created on line 2095, but never freed. This causes a small memory leak. Please see the attached test program demonstrating the issue. Reported on the bugtracker here: http://bugs.freepascal.org/view.php?id=27220 Please review the atta