Ticket #175 (closed defect: fixed)

Opened 13 months ago

Last modified 13 months ago

memory leak on pj_free when using geoid file

Reported by: NDavid Owned by: warmerdam
Priority: major Milestone:
Component: Core Version: Development (trunk)
Keywords: memory leak vgridlist geoid Cc:

Description

When using projection with some geoid file (+geoidgrid) some minor memory leak appear (approx 80 bytes). When using the same projections without the +geoidgrids options, these memory leak disappear. The bug seems to be into the pj_free function (pj_init.c), only gridlist is desallocated and not vgridlist_geoid. Desallocated also vgridlist_geoid lead to correct the bug (see patch)

Attachments

memory_leak_vgridlist_geoid.diff Download (0.8 KB) - added by NDavid 13 months ago.

Change History

Changed 13 months ago by NDavid

Changed 13 months ago by warmerdam

  • status changed from new to closed
  • resolution set to fixed
  • milestone 4.8.0 deleted

Fixed in r2215 - thanks!

Note: See TracTickets for help on using tickets.