[postgis-tickets] [PostGIS] #3246: lwcollection_extract return object possibly referencing portions of argument

PostGIS trac at osgeo.org
Fri Sep 8 05:32:25 PDT 2017


#3246: lwcollection_extract return object possibly referencing portions of
argument
----------------------+---------------------------
  Reporter:  strk     |      Owner:  pramsey
      Type:  defect   |     Status:  reopened
  Priority:  blocker  |  Milestone:  PostGIS 2.4.0
 Component:  postgis  |    Version:  2.1.x
Resolution:           |   Keywords:
----------------------+---------------------------

Comment (by pramsey):

 Well yes, looking at the function, once you start having an eye for the
 kinds of leaks that hang around the whole lwgeom_release() pattern, you
 see some others, so I removed them since I was there. Like most of our
 leaks, they are leaking into the pgsql bathtub, which is drained at the
 end of the function call anyways :) It's not something users would ever
 perceive.

--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3246#comment:10>
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