Opened 12 years ago

Closed 12 years ago

#579 closed defect (invalid)

Coordinates in LineString not deleted

Reported by: joto Owned by: geos-devel@…
Priority: major Milestone: 3.3.5
Component: Default Version: main
Severity: Significant Keywords:
Cc:

Description

LineString doesn't clean up after itself:

LineString::~LineString() {

delete points;

}

and btw it says in geom/LinearRing.cpp:

superclass LineString will delete internal CoordinateSequence LinearRing::~LinearRing(){ }

Change History (1)

comment:1 by joto, 12 years ago

Resolution: invalid
Status: newclosed

Sorry, there seems to be some auto_ptr magic that does this.

Note: See TracTickets for help on using tickets.