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.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 :(

Michael.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to