Opened 15 years ago

Closed 15 years ago

#2796 closed defect (fixed)

memory leaks in JP2KAKDataset::DirectRasterIO

Reported by: stevez Owned by: warmerdam
Priority: low Milestone: 1.5.4
Component: GDAL_Raster Version: unspecified
Severity: minor Keywords: JP2KAK
Cc:

Description

There are several arrays allocated but never freed in JP2KAKDataset::DirectRasterIO.

Can be fixed by inserting the following lines @ jp2kakdataset.cpp:1668 (looking at 1.6.0 source)

    CPLFree( sample_offsets );
    CPLFree( sample_gaps );
    CPLFree( row_gaps );

Change History (1)

comment:1 by warmerdam, 15 years ago

Component: defaultGDAL_Raster
Keywords: JP2KAK added
Milestone: 1.5.4
Resolution: fixed
Status: newclosed

Problem confirmed. Fixed in trunk (r16152), 1.6 branch (r16153) and 1.5 branch (r16154).

Thanks

Note: See TracTickets for help on using tickets.