dbaccess/source/core/api/resultcolumn.cxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit 8fcd59e87065a44918714e5a26d99d303516b247 Author: prrvchr <prrv...@gmail.com> AuthorDate: Tue Jul 15 12:26:33 2025 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Tue Jul 15 13:38:20 2025 +0200 tdf#167495 Base need to close ResultSet after using it. I checked that this is where I saw Base open DatabaseMetData.getColumnVersion() as many times as there are columns in the ResultSet and never close them. Change-Id: I4aa371dc08826d864718285588a685a799eca607 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/187901 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/dbaccess/source/core/api/resultcolumn.cxx b/dbaccess/source/core/api/resultcolumn.cxx index 45d722431bee..6d76c4eedea6 100644 --- a/dbaccess/source/core/api/resultcolumn.cxx +++ b/dbaccess/source/core/api/resultcolumn.cxx @@ -78,6 +78,8 @@ void OResultColumn::impl_determineIsRowVersion_nothrow() break; } } + Reference< XCloseable > xResultCloseable( xVersionColumns, UNO_QUERY_THROW ); + xResultCloseable->close(); } } catch(const SQLException&)