[PostGIS] #6012: Memory leak in function lwcircstring_from_lwpointarray

PostGIS trac at osgeo.org
Thu Nov 6 13:13:41 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):

 That explains why it's not showing up in valgrind,
 lwcircstring_from_lwpointarray is never used. Nor is
 lwcircstring_from_lwmpoint. The answer for why they are declared up top I
 think is because if they were just made static the compiler would complain
 about unused static functions. So it was just reactivity to a compiler
 complaint. It's not clear to me we should keep them around "just in case".
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/6012#comment:4>
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