diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2013-02-27 17:32:56 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2013-02-27 17:32:56 (GMT) |
commit | 00eea738d6e6ff9ad237e6a3b652baac3c6d6845 (patch) | |
tree | 82c8a0576ff22da2e3217896ab8a601496641819 /test/tsohm.c | |
parent | fbf49aeddfab4d95f80d39c87498280921cfc0f1 (diff) | |
download | hdf5-00eea738d6e6ff9ad237e6a3b652baac3c6d6845.zip hdf5-00eea738d6e6ff9ad237e6a3b652baac3c6d6845.tar.gz hdf5-00eea738d6e6ff9ad237e6a3b652baac3c6d6845.tar.bz2 |
[svn-r23320] Close resources, found from valgrind testing
Tested: local linux
Diffstat (limited to 'test/tsohm.c')
-rw-r--r-- | test/tsohm.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/tsohm.c b/test/tsohm.c index fddb552..a8d46f1 100644 --- a/test/tsohm.c +++ b/test/tsohm.c @@ -1280,6 +1280,9 @@ static void size2_verify_plist1(hid_t plist) ret = memcmp(&fill1, &fill1_correct, sizeof(fill1_correct)); VERIFY(ret, 0, memcmp); + + ret = H5Tclose(dtype1_id); + CHECK_I(ret, "H5Tclose"); } /*------------------------------------------------------------------------- @@ -1348,6 +1351,9 @@ static void size2_verify_plist2(hid_t plist) ret = HDmemcmp(&fill2, &fill2_correct, (size_t)DTYPE2_SIZE); VERIFY(ret, 0, memcmp); + + ret = H5Tclose(dtype2_id); + CHECK_I(ret, "H5Tclose"); } #ifdef NOT_NOW |