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&)