mirror of
https://github.com/HDFGroup/hdf5.git
synced 2026-09-25 04:09:44 +03:00
Close attribute after shared attr dtype test (#5360)
This commit is contained in:
@@ -11437,6 +11437,8 @@ test_attr_shared_dtype(void H5_ATTR_UNUSED *params)
|
||||
TEST_ERROR;
|
||||
if (H5Tclose(attr_dtype) < 0)
|
||||
TEST_ERROR;
|
||||
if (H5Aclose(attr_id) < 0)
|
||||
TEST_ERROR;
|
||||
if (H5Gclose(group_id) < 0)
|
||||
TEST_ERROR;
|
||||
if (H5Gclose(container_group) < 0)
|
||||
@@ -11452,6 +11454,7 @@ error:
|
||||
H5E_BEGIN_TRY
|
||||
{
|
||||
H5Tclose(attr_dtype);
|
||||
H5Aclose(attr_id);
|
||||
H5Dclose(dset_id);
|
||||
H5Gclose(group_id);
|
||||
H5Gclose(container_group);
|
||||
|
||||
Reference in New Issue
Block a user