[postgis-tickets] [PostGIS] #3405: Memory leak in lwgeom_to_points

PostGIS trac at osgeo.org
Sun Dec 20 13:52:36 PST 2015


#3405: Memory leak in lwgeom_to_points
---------------------+---------------------------
 Reporter:  dbaston  |      Owner:  pramsey
     Type:  defect   |     Status:  new
 Priority:  medium   |  Milestone:  PostGIS 2.3.0
Component:  postgis  |    Version:  trunk
 Keywords:           |
---------------------+---------------------------
 {{{
 ==8742== 1,024 bytes in 1 blocks are definitely lost in loss record 3 of 4
 ==8742==    at 0x4C2CE8E: realloc (in /usr/lib/valgrind
 /vgpreload_memcheck-amd64-linux.so)
 ==8742==    by 0x4E5C2BB: lwcollection_reserve (lwcollection.c:180)
 ==8742==    by 0x4E5CB69: lwcollection_add_lwgeom (lwcollection.c:211)
 ==8742==    by 0x4E8668C: lwpoly_to_points (lwgeom_geos.c:1710)
 ==8742==    by 0x4E868A0: lwmpoly_to_points (lwgeom_geos.c:1768)
 ==8742==    by 0x406416: test_point_density (cu_algorithm.c:1014)
 ==8742==    by 0x52EAC99: ??? (in /usr/lib/libcunit.so.1.0.1)
 ==8742==    by 0x52EAF27: ??? (in /usr/lib/libcunit.so.1.0.1)
 ==8742==    by 0x52EB2A5: CU_run_all_tests (in /usr/lib/libcunit.so.1.0.1)
 ==8742==    by 0x40620E: main (cu_tester.c:163)
 }}}

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