diff options
author | Muqun Yang <myang6@hdfgroup.org> | 2021-04-30 14:10:01 (GMT) |
---|---|---|
committer | Muqun Yang <myang6@hdfgroup.org> | 2021-04-30 14:10:01 (GMT) |
commit | 16b2b76b263afe59bb001df80b04222471ee9cc1 (patch) | |
tree | ab3536e454d3e0f35cd7d46eb07e9aca0d45fa31 /test | |
parent | 5bac3e28f0c21c57c26990ea707a6383fa637e37 (diff) | |
download | hdf5-16b2b76b263afe59bb001df80b04222471ee9cc1.zip hdf5-16b2b76b263afe59bb001df80b04222471ee9cc1.tar.gz hdf5-16b2b76b263afe59bb001df80b04222471ee9cc1.tar.bz2 |
Close the space id used for attributes.
Diffstat (limited to 'test')
-rw-r--r-- | test/vfd_swmr_group_writer.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/vfd_swmr_group_writer.c b/test/vfd_swmr_group_writer.c index cb6b086..7f083c8 100644 --- a/test/vfd_swmr_group_writer.c +++ b/test/vfd_swmr_group_writer.c @@ -3123,6 +3123,12 @@ main(int argc, char **argv) goto error; } + if (H5Sclose(s.one_by_one_sid) < 0) { + H5_FAILED(); AT(); + printf("H5Sclose failed\n"); + goto error; + } + if (H5Fclose(s.file) < 0) { H5_FAILED(); AT(); printf("H5Fclose failed\n"); @@ -3163,6 +3169,7 @@ error: H5E_BEGIN_TRY { H5Pclose(fapl); H5Pclose(fcpl); + H5Sclose(s.one_by_one_sid); H5Fclose(s.file); } H5E_END_TRY; |