Skip to content

Commit

Permalink
[BUGFIX] QgsMultiLineStringV2::asGML2
Browse files Browse the repository at this point in the history
Do not delete lineString in the Q_FOREACH loop
  • Loading branch information
rldhont committed Feb 5, 2018
1 parent ba71e79 commit d8ca636
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/core/geometry/qgsmultilinestringv2.cpp
Expand Up @@ -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;
}
}

Expand Down

0 comments on commit d8ca636

Please sign in to comment.