[postgis-devel] [PostGIS] #1102: Memory leaks in liblwgeom ?

PostGIS trac at osgeo.org
Mon Jul 4 05:31:39 PDT 2011


#1102: Memory leaks in liblwgeom ?
---------------------+------------------------------------------------------
 Reporter:  strk     |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 2.0.0
Component:  postgis  |     Version:  trunk        
 Keywords:           |  
---------------------+------------------------------------------------------

Comment(by strk):

 With r7578 I've fixed a few leaks which were in the unit tests themselves,
 but next big leak really comes from library, and is related to WKT errors
 during parsing. It is triggered by passing 'TIN(((0 1 2,3 4 5,6 7 8,9 10
 11,0 1 2)))' to lwgeom_from_ewkt. The code will allocate a POINTARRAY and
 then bail out calling lwerror, failing to release the allocated POINARRAY.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1102#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-devel mailing list