[postgis-tickets] [PostGIS] #1553: TGEOM serialization documentation file
PostGIS
trac at osgeo.org
Thu Dec 20 09:03:05 PST 2012
#1553: TGEOM serialization documentation file
---------------------------------+------------------------------------------
Reporter: colivier | Owner: colivier
Type: task | Status: new
Priority: blocker | Milestone: PostGIS 2.0.3
Component: postgis | Version: 2.0.x
Keywords: TGEOM serialization |
---------------------------------+------------------------------------------
Comment(by strk):
Valgrind reports memory leaks when running the cu_surface unit test.
In turn this one points to the serialize routing which is clearly _not_
serializing: lwfree(tser) isn't enough to cleanup the product of
tgeom_serialize() because the returned object is not a single memory
allocation.
There are no memory errors (other than leaks) shown when running the unit
test, evidently because the serialize/deserialize routine are consistent
with themselves, but when it comes to put the serialized version into the
database it cannot work, right ? But maybe we're never putting it in there
?
Now I realize that the memory errors I were remembering you fixed already
(in #665)
Anyway I think for the purpose of this ticket it would be good if you
could fix all the memory leaks reported by valgrind while running the unit
tests for tgeom. Doing that should reveal the problem with lack of
documentation :)
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1553#comment:6>
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