[postgis-tickets] [PostGIS] #4026: Memory leaks in test_rect_tree_contains_point

PostGIS trac at osgeo.org
Wed Feb 21 02:46:11 PST 2018


#4026: Memory leaks in test_rect_tree_contains_point
------------------------+---------------------------
 Reporter:  Algunenano  |      Owner:  Algunenano
     Type:  defect      |     Status:  assigned
 Priority:  medium      |  Milestone:  PostGIS 2.5.0
Component:  liblwgeom   |    Version:  trunk
 Keywords:              |
------------------------+---------------------------
 {{{
 ==2979==ERROR: LeakSanitizer: detected memory leaks
 Direct leak of 128 byte(s) in 1 object(s) allocated from:
     #0 0x55ff8a5fd3c1 in __interceptor_malloc
 (/home/raul/dev/public/postgis/liblwgeom/cunit/.libs/lt-
 cu_tester+0x13b3c1)
     #1 0x7faf98a0394b in rect_node_internal_new
 /home/raul/dev/public/postgis/liblwgeom/lwtree.c:566:20
     #2 0x7faf98a0394b in rect_nodes_merge
 /home/raul/dev/public/postgis/liblwgeom/lwtree.c:604
     #3 0x7faf98a0394b in rect_tree_from_lwcurvepoly
 /home/raul/dev/public/postgis/liblwgeom/lwtree.c:803
     #4 0x7faf98a0394b in rect_tree_from_lwgeom
 /home/raul/dev/public/postgis/liblwgeom/lwtree.c:868
     #5 0x55ff8a653495 in test_rect_tree_contains_point
 /home/raul/dev/public/postgis/liblwgeom/cunit/cu_measures.c:212:9


 SUMMARY: AddressSanitizer: 4856 byte(s) leaked in 40 allocation(s).
 }}}

 GH PR: https://github.com/postgis/postgis/pull/216

 I'll see if I can push this myself.

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