[postgis-tickets] [PostGIS] #2947: Memory leak in lwgeom_make_valid

PostGIS trac at osgeo.org
Wed Oct 1 07:26:57 PDT 2014


#2947: Memory leak in lwgeom_make_valid
---------------------+------------------------------------------------------
 Reporter:  strk     |       Owner:  strk         
     Type:  defect   |      Status:  new          
 Priority:  blocker  |   Milestone:  PostGIS 2.1.5
Component:  postgis  |     Version:  2.1.x        
 Keywords:           |  
---------------------+------------------------------------------------------

Comment(by strk):

 Wrong analisys, the cloned geometry does indeed get a READONLY flag set,
 which means it won't destroy the pointarray. But we created the source
 geometry and will be giving that one away...

 I guess the cleanest thing to do here is to avoid the clone completely and
 do the "to-multi" locally

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