[postgis-devel] [PostGIS] #370: lwgeom_free not empty safe

PostGIS trac at osgeo.org
Sun Jan 3 15:54:55 PST 2010


#370: lwgeom_free not empty safe
----------------------+-----------------------------------------------------
  Reporter:  robe     |       Owner:  pramsey      
      Type:  defect   |      Status:  new          
  Priority:  medium   |   Milestone:  PostGIS 1.5.0
 Component:  postgis  |     Version:  trunk        
Resolution:           |    Keywords:               
----------------------+-----------------------------------------------------
Changes (by pramsey):

  * summary:  ST_CollectionExtract not Empty safe => lwgeom_free not empty
              safe

Comment:

 In fact, the problem is a little deeper. Hard to believe we don't do this
 in other places, but it seems to be a generic problem with freeing
 empties, or more to the point, that the lwgeom's returned by
 pglwgeom_deserialize aren't constructed in such a way we can free them
 safely. More investigation req'd.

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