Opened 11 years ago

Last modified 4 months ago

#687 reopened defect

GDAL Provider memory leak

Reported by: vrifino Owned by: warmerdam
Priority: critical Milestone: 3.5.0
Component: GDAL Provider Version: 3.5.0
Severity: 2 Keywords:
Cc: External ID:

Description

After some tests, i deduct that there is a memory leak in the GetRaster? implementation in the file FdoRfpCommonReader?.h

Attachments (1)

test.cpp (3.4 KB) - added by vrifino 11 years ago.
test.cpp

Download all attachments as: .zip

Change History (3)

Changed 11 years ago by vrifino

Attachment: test.cpp added

test.cpp

comment:1 Changed 4 months ago by jng

Resolution: fixed
Status: newclosed

Added this code to a temporary GRFP provider test case and built/ran it in debug mode with CRT memory leak checking enabled. No leaks were reported. Assumed this is no longer leaking.

comment:2 Changed 4 months ago by jng

Resolution: fixed
Status: closedreopened

Re-opening because ASAN-instrumented GDAL provider test suite is reporting memory leaks on Linux and ASAN is orders of magnitude more useful in detecting leaks than crtdbg on Windows.

Note: See TracTickets for help on using tickets.