Skip to content

Commit 381895f

Browse files
committedApr 28, 2016
Fix crash
1 parent 679e8f2 commit 381895f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/core/qgsvectorlayereditbuffer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -714,7 +714,7 @@ QgsAbstractGeometryV2* QgsVectorLayerEditBuffer::outputGeometry( QgsAbstractGeom
714714
QgsGeometryCollectionV2* geomCollection = dynamic_cast<QgsGeometryCollectionV2*>( outputGeom );
715715
if ( geomCollection )
716716
{
717-
geomCollection->addGeometry( geom );
717+
geomCollection->addGeometry( geom->clone() );
718718
}
719719
}
720720

0 commit comments

Comments
 (0)
Please sign in to comment.