Resolve "Memory leak in TL instances"
Seems OK now but I saw the same kind of mistakes in the code:
-
createLineString()
must use only override getting pointer ->createLineString(Coordinates*)
and NOT the override getting reference -
line.getCoordinates()
must be wrapped in aunique_ptr
because it is not automatically deleted after
Closes #945 (closed)