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

PostGIS trac at osgeo.org
Wed Jul 6 07:36:20 PDT 2011


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

Comment(by strk):

 I've added ptarray_clone (shallow) in r7608, togheter with unit test for
 lwgeom_clone and lwgeom_release round.

 In r7609 I've cleaned up lwgeom_homogenize to use lwgeom_free safely.

 Definitely lost now: 248 bytes in 8 blocks (x3d and lwcollection_extract)

 lwcollection_extract problem seems to be that geometries from input
 collection are added to output collection w/out cloning. I think it'd be
 ok to clone, given our clones are shallow by default (no serialized
 pointlist copied)

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