Ticket #3953 (closed defect: fixed)
Memory leak in BAG dataset
| Reported by: | rprinceley | Owned by: | warmerdam |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.8.1 |
| Component: | GDAL_Raster | Version: | 1.8.0 |
| Severity: | normal | Keywords: | hdf5 bag |
| Cc: | gaopeng |
Description
There appears to be one or more cases of missing H5?close calls in the BAG implementation. This is causing memory leaks.
Also, we had to change nAttrSize in HDF5AttrIterate() from:
nAttrSize = H5Tget_size( hAttrTypeID );
to:
nAttrSize = H5Aget_storage_size( hAttrID );
Attached is a patch that adds these calls. We are still testing these, please review and include if appropriate.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

