Skip to content
Permalink
Browse files

[BUGFIX] QgsMultiLineStringV2::asGML2

Do not delete lineString in the Q_FOREACH loop
  • Loading branch information
rldhont committed Feb 5, 2018
1 parent ba71e79 commit d8ca6367ff7e65bb39e0c09ee9b3d2b479a689f3
Showing with 0 additions and 2 deletions.
  1. +0 −2 src/core/geometry/qgsmultilinestringv2.cpp
@@ -44,8 +44,6 @@ QDomElement QgsMultiLineStringV2::asGML2( QDomDocument& doc, int precision, cons
QDomElement elemLineStringMember = doc.createElementNS( ns, "lineStringMember" );
elemLineStringMember.appendChild( lineString->asGML2( doc, precision, ns ) );
elemMultiLineString.appendChild( elemLineStringMember );

delete lineString;
}
}

0 comments on commit d8ca636

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