[postgis-tickets] [PostGIS] #3405: Memory leak in lwgeom_to_points
PostGIS
trac at osgeo.org
Tue Dec 22 20:30:37 PST 2015
#3405: Memory leak in lwgeom_to_points
----------------------+---------------------------
Reporter: dbaston | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 2.3.0
Component: postgis | Version: trunk
Resolution: | Keywords:
----------------------+---------------------------
Comment (by pramsey):
The answer might be a review of the use and semantics of lwgeom_release. i
don't think it's widely used, so we can tweak it slightly. I think it's
fair to say the semantic is: "release the container but leave the
contained". for for a lienstring, it would leave the pointarray intact,
and for a polygon it would leave the pointarrays intact, but drop the
rings[] array. And for collections it would leave the sub-geometries
intact but lose the geoms[]. But possibly it's being used somewhere
outside that semantic box.
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3405#comment:3>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list