diff options
author | James Laird <jlaird@hdfgroup.org> | 2006-05-03 22:04:30 (GMT) |
---|---|---|
committer | James Laird <jlaird@hdfgroup.org> | 2006-05-03 22:04:30 (GMT) |
commit | 14d12aebd0991adf1e41ae4176bd4b538f4cf1ad (patch) | |
tree | 652da6edc1e4ea8a5097192808e4f4f0dff53be0 /test | |
parent | 3db9c56f9ecee8849794ab1b2fdcd1f6bcad9f31 (diff) | |
download | hdf5-14d12aebd0991adf1e41ae4176bd4b538f4cf1ad.zip hdf5-14d12aebd0991adf1e41ae4176bd4b538f4cf1ad.tar.gz hdf5-14d12aebd0991adf1e41ae4176bd4b538f4cf1ad.tar.bz2 |
[svn-r12327] Purpose:
Bug fix
Description:
A datatype wasn't being closed in th5s.c
Solution:
This minor oversight caused an error with my Object Header code.
The datatype is now closed in the test.
Platforms tested:
windows, mir, copper
Diffstat (limited to 'test')
-rw-r--r-- | test/th5s.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/th5s.c b/test/th5s.c index 7f25f91..1d1b1dd 100644 --- a/test/th5s.c +++ b/test/th5s.c @@ -944,6 +944,10 @@ test_h5s_compound_scalar_read(void) TestErrPrintf("scalar data different: space4_data.c1=%c, read_data4.c1=%c\n",space4_data.c1,rdata.c2); } /* end if */ + /* Close datatype */ + ret = H5Tclose(type); + CHECK(ret, FAIL, "H5Tclose"); + /* Close Dataset */ ret = H5Dclose(dataset); CHECK(ret, FAIL, "H5Dclose"); |