diff options
author | Jonathan Kim <jkm@hdfgroup.org> | 2012-01-10 16:23:38 (GMT) |
---|---|---|
committer | Jonathan Kim <jkm@hdfgroup.org> | 2012-01-10 16:23:38 (GMT) |
commit | 5540ecb72d231bbd8800195fd7924b05612017c2 (patch) | |
tree | 8710553d25dd4b2ec32090f7e06ac3b8c7b9f6df /release_docs/RELEASE.txt | |
parent | da199c11f4d06e253ba0970c6e9f09be732ae33b (diff) | |
download | hdf5-5540ecb72d231bbd8800195fd7924b05612017c2.zip hdf5-5540ecb72d231bbd8800195fd7924b05612017c2.tar.gz hdf5-5540ecb72d231bbd8800195fd7924b05612017c2.tar.bz2 |
[svn-r21870] Purpose:
Fix for HDFFV-7840 h5repack: memory leak over one of the h5diff test file
Description:
Turned out that there were two causes of memory leaks.
1. for handling variable length string in attribute.
2. for handling compound type with non-reference members.
The first issue is fixed in copy_attr() which is updated to use h5tools_detect_vlen to take care of vlen string as well as vlen data.
The second is fixed in copy_refs_attr() of compound handling code.
Merged from HDF5 trunk r21869.
Tested:
jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Windows (32-LE cmake), Cmake (jam)
Diffstat (limited to 'release_docs/RELEASE.txt')
-rw-r--r-- | release_docs/RELEASE.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/release_docs/RELEASE.txt b/release_docs/RELEASE.txt index 8727d08..4a4a626 100644 --- a/release_docs/RELEASE.txt +++ b/release_docs/RELEASE.txt @@ -112,6 +112,8 @@ Bug Fixes since HDF5-1.8.8 Tools ----- + - h5repack: fixed memory leak for handling variable length string in + attribute. HDFFV-7840 (JKM 2012/01/10) - h5ls: fixed segfault when access region reference data in an attribute. HDFFV-7838 (JKM 2012/01/06) |