Skip to content

Commit

Permalink
don't crash on geometryless wfs features
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Jun 2, 2015
1 parent 450c3ef commit 6a019ad
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 6a019ad

Please sign in to comment.