[geos-devel] [GEOS] #919: memory leak in geos::index::strtree::SIRtree::insert()
GEOS
geos-trac at osgeo.org
Thu Aug 23 05:06:06 PDT 2018
#919: memory leak in geos::index::strtree::SIRtree::insert()
------------------------+--------------------------
Reporter: basiliscos | Owner: geos-devel@…
Type: defect | Status: new
Priority: major | Milestone:
Component: Default | Version: 3.6.2
Severity: Unassigned | Keywords:
------------------------+--------------------------
{{{
#include <geos/index/strtree/SIRtree.h>
int main() {
while(1) {
geos::index::strtree::SIRtree t;
t.insert(1, 5, &t);
}
return 0;
}
}}}
When I run this sample program, it consumes all my RAM.
Please, fix.
Thank you.
--
Ticket URL: <https://trac.osgeo.org/geos/ticket/919>
GEOS <http://trac.osgeo.org/geos>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).
More information about the geos-devel
mailing list