[fpc-pascal] memory leak in TCustomSQLQuery.Create
Michael Van Canneyt
michael at freepascal.org
Tue Dec 30 08:35:58 CET 2014
On Mon, 29 Dec 2014, Michael Van Ham wrote:
> 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 attached patch, and apply if suitable.
Done, thank you very much. Don't know how I could have missed that one :(
More information about the fpc-pascal