diff options
author | Jonathan Kim <jkm@hdfgroup.org> | 2012-01-09 21:24:50 (GMT) |
---|---|---|
committer | Jonathan Kim <jkm@hdfgroup.org> | 2012-01-09 21:24:50 (GMT) |
commit | 00b9f24d9b161817876921a8bd983ed1d148def1 (patch) | |
tree | c57416b820a40440905528abe5b3b62c51495f1b /release_docs | |
parent | e0db7c89228e73cd3e30604f4987ee3146a8380f (diff) | |
download | hdf5-00b9f24d9b161817876921a8bd983ed1d148def1.zip hdf5-00b9f24d9b161817876921a8bd983ed1d148def1.tar.gz hdf5-00b9f24d9b161817876921a8bd983ed1d148def1.tar.bz2 |
[svn-r21869] 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.
Tested:
jam (linux32-LE), koala (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Windows (32-LE), Cmake (jam)
Diffstat (limited to 'release_docs')
-rw-r--r-- | release_docs/RELEASE.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/release_docs/RELEASE.txt b/release_docs/RELEASE.txt index 8b22102..98e51a9 100644 --- a/release_docs/RELEASE.txt +++ b/release_docs/RELEASE.txt @@ -632,8 +632,10 @@ Bug Fixes since HDF5-1.8.0 release Tools ----- + - h5repack: fixed memory leak for handling variable length string in + attribute. HDFFV-7840 (JKM 2012/01/06) - h5ls: fixed segfault when access region reference data in an - attribute. (JKM 2011/12/29) + attribute. HDFFV-7838 (JKM 2011/12/29) - h5diff: fixed segfault over non-comparable attribute with different dimention or rank, along with '-c' option to display details. HDFFV-7770 (JKM 2011/10/24) |