[postgis-devel] [PostGIS] #1104: lwgeom_homogenize does a shallow copy

PostGIS trac at osgeo.org
Mon Jul 4 06:42:40 PDT 2011


#1104: lwgeom_homogenize does a shallow copy
---------------------+------------------------------------------------------
 Reporter:  strk     |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 2.0.0
Component:  postgis  |     Version:  trunk        
 Keywords:           |  
---------------------+------------------------------------------------------
 Is it intentional for lwgeom_homogenize to avoid a deep copy of
 coordinates ? Do we have a way to flag ownership of a collection
 components ?

 Currently, the homogenize unit test fails with a double free of corruption
 as it lwgeom_free the input and the output passed to
 lwcollection_homogenize. How should memory be handled instead ?

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