Skip to content

Commit

Permalink
Avoid crash when WFS converted to offline
Browse files Browse the repository at this point in the history
Fixes #14010 Converting to Offline Editing of WFS-T layer causes minidump

Funded by Boundless
  • Loading branch information
elpaso committed Apr 14, 2016
1 parent 2e515a2 commit eeb9bdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/wfs/qgswfsprovider.cpp
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ bool QgsWFSProvider::isValid()


QgsFeatureIterator QgsWFSProvider::getFeatures( const QgsFeatureRequest& request ) QgsFeatureIterator QgsWFSProvider::getFeatures( const QgsFeatureRequest& request )
{ {
return new QgsWFSFeatureIterator( new QgsWFSFeatureSource( this ), true, request ); return QgsFeatureIterator( new QgsWFSFeatureIterator( new QgsWFSFeatureSource( this ), true, request ) );
} }


bool QgsWFSProvider::addFeatures( QgsFeatureList &flist ) bool QgsWFSProvider::addFeatures( QgsFeatureList &flist )
Expand Down

0 comments on commit eeb9bdd

Please sign in to comment.