Ticket #3953 (closed defect: fixed)
Memory leak in BAG dataset
|Reported by:||rprinceley||Owned by:||warmerdam|
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 );
nAttrSize = H5Aget_storage_size( hAttrID );
Attached is a patch that adds these calls. We are still testing these, please review and include if appropriate.