Skip to content
Permalink
Browse files

Fix memory leak

  • Loading branch information
m-kuhn committed May 13, 2016
1 parent 27aca5c commit c315113ed02b38de6f53e72e0ca93ea57b188720
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/providers/postgres/qgspostgresprovider.cpp
@@ -379,7 +379,7 @@ QgsFeatureIterator QgsPostgresProvider::getFeatures( const QgsFeatureRequest& re
}

QgsPostgresFeatureSource* featureSrc = static_cast<QgsPostgresFeatureSource*>( featureSource() );
return QgsFeatureIterator( new QgsPostgresFeatureIterator( featureSrc, false, request ) );
return QgsFeatureIterator( new QgsPostgresFeatureIterator( featureSrc, true, request ) );
}


0 comments on commit c315113

Please sign in to comment.
You can’t perform that action at this time.