Ticket #1104 (closed defect: invalid)
lwgeom_homogenize does a shallow copy
| Reported by: | strk | Owned by: | pramsey |
|---|---|---|---|
| Priority: | medium | Milestone: | PostGIS 2.0.0 |
| Component: | postgis | Version: | trunk |
| Keywords: | Cc: |
Description
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 ?
Change History
Note: See
TracTickets for help on using
tickets.
