[geos-devel] [GEOS] #579: Coordinates in LineString not deleted

GEOS geos-trac at osgeo.org
Tue Aug 14 12:52:37 PDT 2012


#579: Coordinates in LineString not deleted
-------------------------+--------------------------------------------------
 Reporter:  joto         |       Owner:  geos-devel@…              
     Type:  defect       |      Status:  new                       
 Priority:  major        |   Milestone:  3.3.5                     
Component:  Default      |     Version:  svn-trunk                 
 Severity:  Significant  |    Keywords:                            
-------------------------+--------------------------------------------------
 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(){
 }

-- 
Ticket URL: <http://trac.osgeo.org/geos/ticket/579>
GEOS <http://geos.refractions.net/>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).


More information about the geos-devel mailing list