From 767ed0e711ef0bff7f5789e0d31d7ae11206090b Mon Sep 17 00:00:00 2001 From: hxbb00 Date: Tue, 7 Jan 2025 20:45:04 +0800 Subject: [PATCH] Remove manually released resources --- src/core/providers/ogr/qgsogrproviderconnection.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/core/providers/ogr/qgsogrproviderconnection.cpp b/src/core/providers/ogr/qgsogrproviderconnection.cpp index 80d6cf10b06b..afea46564676 100644 --- a/src/core/providers/ogr/qgsogrproviderconnection.cpp +++ b/src/core/providers/ogr/qgsogrproviderconnection.cpp @@ -107,12 +107,6 @@ QVariantList QgsOgrProviderResultIterator::nextRowInternal() } } } - else - { - // Release the resources - GDALDatasetReleaseResultSet( mHDS.get(), mOgrLayer ); - mHDS.reset(); - } } return row; }