Skip to content

Commit

Permalink
don't crash on geometryless wfs features
Browse files Browse the repository at this point in the history
(cherry picked from commit 6a019ad)
  • Loading branch information
jef-n committed Jun 29, 2015
1 parent ab06ccd commit 8a69a45
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/qgsgml.cpp
Expand Up @@ -369,6 +369,7 @@ void QgsGml::endElement( const XML_Char* el )
if ( mCurrentWKBSize > 0 )
{
mCurrentFeature->setGeometryAndOwnership( mCurrentWKB, mCurrentWKBSize );
mCurrentWKB = 0;
}
else if ( !mCurrentExtent.isEmpty() )
{
Expand Down

0 comments on commit 8a69a45

Please sign in to comment.