Skip to content

Resolve "Memory leak in TL instances"

Gabriel Schlozer requested to merge 945-memory-leak-in-tl-instances into 3.11/sprint

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 a unique_ptr because it is not automatically deleted after

Closes #945 (closed)

Merge request reports

Loading