Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#4053 closed defect (fixed)

Memory leak in lwline_chaikin

Reported by: Algunenano Owned by: Algunenano
Priority: high Milestone: PostGIS 2.5.0
Component: liblwgeom Version: master
Keywords: Cc:

Description

Direct leak of 32 byte(s) in 1 object(s) allocated from:
    #0 0x55ee1a682f11 in __interceptor_malloc (/home/raul/dev/public/postgis/liblwgeom/cunit/.libs/lt-cu_tester+0x13ef11)
    #1 0x7f708d9bade1 in lwline_construct_empty /home/raul/dev/public/postgis/liblwgeom/lwline.c:66:19
    #2 0x7f708da9a546 in lwline_chaikin /home/raul/dev/public/postgis/liblwgeom/lwchaikins.c:110:18
    #3 0x7f708da9a546 in lwgeom_chaikin /home/raul/dev/public/postgis/liblwgeom/lwchaikins.c:191
    #4 0x55ee1a6e81db in do_test_chaikin /home/raul/dev/public/postgis/liblwgeom/cunit/cu_chaikin.c:26:13
    #5 0x55ee1a6e8132 in do_test_chaikin_lines /home/raul/dev/public/postgis/liblwgeom/cunit/cu_chaikin.c:42:2
    #6 0x7f708d511087 in run_single_test.constprop.5 /tmp/yaourt-tmp-raul/aur-cunit/src/CUnit-2.1-3/CUnit/Sources/Framework/TestRun.c:991

Change History (3)

comment:1 by nicklas, 6 years ago

Thanks

I will take a look later today

comment:2 by Raul Marin, 6 years ago

Resolution: fixed
Status: assignedclosed

In 16485:

Fix memory leak in lwline_chaikin

Closes https://github.com/postgis/postgis/pull/233
Closes #4053

comment:3 by nicklas, 6 years ago

Thanks!

My bad

Note: See TracTickets for help on using tickets.