+2007-04-18 Dmitry Dulepov <dmitry@typo3.org>
+
+ * Fixed: t3lib_BEfunc::getRecord() did not free recordset. This can cause memory leaks if persistent mysql connections are used
+
2007-04-14 Dmitry Dulepov <dmitry@typo3.org>
* Workspaces: added class.wslib_gui.php to allow using WS GUI from extensions
$table,
'uid='.intval($uid).($useDeleteClause ? t3lib_BEfunc::deleteClause($table) : '').$where
);
- if ($row = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res)) {
+ $row = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res);
+ $GLOBALS['TYPO3_DB']->sql_free_result($res);
+ if ($row) {
return $row;
}
}