t3lib_BEfunc has a lot of hanging SQL record sets
In t3lib_BEfunc there are many positions where SQL queries are performed but the SQL result is not removed afterwards. This can lead to some memory leaks during the execution.
The solution is to free SQL results if they are not required any longer.
(issue imported from #M9665)