Skip to content

Commit

Permalink
Fixing qgsogrproviderconnection memory leaks
Browse files Browse the repository at this point in the history
  • Loading branch information
hxbb00 authored Jan 7, 2025
1 parent eba8d20 commit 1fc0353
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/providers/ogr/qgsogrproviderconnection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ QVariantList QgsOgrProviderResultIterator::nextRowInternal()
{
// Release the resources
GDALDatasetReleaseResultSet( mHDS.get(), mOgrLayer );
mHDS.release();
mHDS.reset();
}
}
return row;
Expand Down

0 comments on commit 1fc0353

Please sign in to comment.