[geos-devel] Unclear objects lifetime and ownership issues in Monotone Chain components

Mateusz Loskot mateusz at loskot.net
Wed Sep 24 08:10:51 EDT 2008


Folks,

I've started memory leaks cleanup [1] in GEOS and found quite serious
design issue around MonotoneChain components.

Here is longer story [2] with suggested solution, however I'm not enough
knowledgeable about all internals especially about possible relations
between various collections allocated internally as well as flows and
ownership transfers.

I'd be thankful if original authors of these components (Ben?, Sandro?)
could share their minds.

[1] http://trac.osgeo.org/geos/ticket/207
[2] http://trac.osgeo.org/geos/ticket/207#comment:4

Best regards,
-- 
Mateusz Loskot
http://mateusz.loskot.net






More information about the geos-devel mailing list