diff options
author | Neil Fortner <nfortne2@hdfgroup.org> | 2009-06-10 19:22:09 (GMT) |
---|---|---|
committer | Neil Fortner <nfortne2@hdfgroup.org> | 2009-06-10 19:22:09 (GMT) |
commit | bc2bd03a466909e874220e3f08e6abe79a5dbe9b (patch) | |
tree | 3bedd4f4b9fc4d4c2e29f0231f0c9243093ceb8c /src/H5Tbit.c | |
parent | 66153395600210692eac9170794bfff3804106c8 (diff) | |
download | hdf5-bc2bd03a466909e874220e3f08e6abe79a5dbe9b.zip hdf5-bc2bd03a466909e874220e3f08e6abe79a5dbe9b.tar.gz hdf5-bc2bd03a466909e874220e3f08e6abe79a5dbe9b.tar.bz2 |
[svn-r17026] Purpose: fix bug 1593
Description:
When using H5T_copy on committed datatypes that are already open, H5T_copy would
properly use the already existing shared struct, but would still deep copy all
of the fields in that struct. This would cause memory leaks, and in the case of
a compound containing a vlen (or reference), the change in size would cause the
size of the resulting type to be set to an incorrect value. Changed H5T_copy to
properly avoid deep copies when using a reopened shared struct.
Tested: jam, linew, smirom (h5committest), purify on jam
Diffstat (limited to 'src/H5Tbit.c')
0 files changed, 0 insertions, 0 deletions