Skip to content
Permalink
Browse files

don't crash on geometryless wfs features

(cherry picked from commit 6a019ad)
  • Loading branch information
jef-n committed Jun 2, 2015
1 parent ab06ccd commit 8a69a458a7003c78624c2f0d821ce95205948aaf
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/core/qgsgml.cpp
@@ -369,6 +369,7 @@ void QgsGml::endElement( const XML_Char* el )
if ( mCurrentWKBSize > 0 )
{
mCurrentFeature->setGeometryAndOwnership( mCurrentWKB, mCurrentWKBSize );
mCurrentWKB = 0;
}
else if ( !mCurrentExtent.isEmpty() )
{

0 comments on commit 8a69a45

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