diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2009-09-29 20:18:22 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2009-09-29 20:18:22 (GMT) |
commit | 89404acc45281bef751d1073ce5cf82b5d1db4d1 (patch) | |
tree | bc8f2e920f36efbec3f7b5d57349c4cb034cdec6 /tools/lib | |
parent | 0ead3e88734ad130c3991947a7b51cd1d5c37102 (diff) | |
download | hdf5-89404acc45281bef751d1073ce5cf82b5d1db4d1.zip hdf5-89404acc45281bef751d1073ce5cf82b5d1db4d1.tar.gz hdf5-89404acc45281bef751d1073ce5cf82b5d1db4d1.tar.bz2 |
[svn-r17554] Fix for Bug 1562. H5DSis_attached needed to account for platform dependent types. Added test and test files for LE and BE dimension scales. Reworked part of test_ds file as part of debug.
Added missing H5Tclose in region reference routines.
Tested: local linux, smirom, linew
Diffstat (limited to 'tools/lib')
-rw-r--r-- | tools/lib/h5tools.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/lib/h5tools.c b/tools/lib/h5tools.c index 8380deb..3b2984b 100644 --- a/tools/lib/h5tools.c +++ b/tools/lib/h5tools.c @@ -1581,6 +1581,9 @@ h5tools_dump_region_data_blocks(hid_t region_space, hid_t region_id, done: free(ptdata); + if(H5Tclose(type_id) < 0) + HERROR(H5E_tools_g, H5E_tools_min_id_g, "H5Tclose failed"); + if(H5Tclose(dtype) < 0) HERROR(H5E_tools_g, H5E_tools_min_id_g, "H5Tclose failed"); @@ -1881,6 +1884,9 @@ h5tools_dump_region_data_points(hid_t region_space, hid_t region_id, done: free(ptdata); + if(H5Tclose(type_id) < 0) + HERROR(H5E_tools_g, H5E_tools_min_id_g, "H5Tclose failed"); + if(H5Tclose(dtype) < 0) HERROR(H5E_tools_g, H5E_tools_min_id_g, "H5Tclose failed"); |