Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix memory leak
  • Loading branch information
m-kuhn committed May 13, 2016
1 parent 27aca5c commit c315113
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/postgres/qgspostgresprovider.cpp
Expand Up @@ -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 ) );
}


Expand Down

0 comments on commit c315113

Please sign in to comment.