[PostGIS] #6012: Memory leak in function lwcircstring_from_lwpointarray
PostGIS
trac at osgeo.org
Wed Nov 5 04:50:37 PST 2025
#6012: Memory leak in function lwcircstring_from_lwpointarray
-----------------------+---------------------------
Reporter: ezimanyi | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 3.6.1
Component: postgis | Version: 3.5.x
Resolution: | Keywords:
-----------------------+---------------------------
Comment (by pramsey):
The whole point of the function ptarray_construct_reference_data is to
build a point array on top of an array that is not owned by the
overarching struct, as it says in the comment atop the function, so
turning off READONLY is explicitly opposite the contract, and it would
make no sense to do that. Do you have a valgrind result showing this leak?
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/6012#comment:1>
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