summaryrefslogtreecommitdiffstats
path: root/src/H5Ftest.c
diff options
context:
space:
mode:
authorNeil Fortner <nfortne2@hdfgroup.org>2009-06-10 19:17:26 (GMT)
committerNeil Fortner <nfortne2@hdfgroup.org>2009-06-10 19:17:26 (GMT)
commit4d2449d3827d2b9fc882b07fcd19243a3355df71 (patch)
tree0ff1c777ab348af62a54449d22ff643acda32600 /src/H5Ftest.c
parentb2efaa9f70e76ae0b459977d97057ead5f0c340b (diff)
downloadhdf5-4d2449d3827d2b9fc882b07fcd19243a3355df71.zip
hdf5-4d2449d3827d2b9fc882b07fcd19243a3355df71.tar.gz
hdf5-4d2449d3827d2b9fc882b07fcd19243a3355df71.tar.bz2
[svn-r17025] 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/H5Ftest.c')
0 files changed, 0 insertions, 0 deletions