Skip to content

Commit 6a019ad

Browse files
committed
don't crash on geometryless wfs features
1 parent 450c3ef commit 6a019ad

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/core/qgsgml.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,7 @@ void QgsGml::endElement( const XML_Char* el )
369369
if ( mCurrentWKBSize > 0 )
370370
{
371371
mCurrentFeature->setGeometryAndOwnership( mCurrentWKB, mCurrentWKBSize );
372+
mCurrentWKB = 0;
372373
}
373374
else if ( !mCurrentExtent.isEmpty() )
374375
{

0 commit comments

Comments
 (0)