diff options
author | David Young <dyoung@hdfgroup.org> | 2020-07-14 13:54:56 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-07-14 13:54:56 (GMT) |
commit | 8593cd2d9388cc05948dd8b2113c6d9bbdd56770 (patch) | |
tree | ea2b3d6d42d555d82fa43e72eac6cf6575362b48 /test/vfd_swmr_generator.c | |
parent | fefc6cf8858535fb22d86001ab86bc1ce05e27bd (diff) | |
download | hdf5-8593cd2d9388cc05948dd8b2113c6d9bbdd56770.zip hdf5-8593cd2d9388cc05948dd8b2113c6d9bbdd56770.tar.gz hdf5-8593cd2d9388cc05948dd8b2113c6d9bbdd56770.tar.bz2 |
Close attribute after use.
Diffstat (limited to 'test/vfd_swmr_generator.c')
-rw-r--r-- | test/vfd_swmr_generator.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/vfd_swmr_generator.c b/test/vfd_swmr_generator.c index 054b5e5..13fc941 100644 --- a/test/vfd_swmr_generator.c +++ b/test/vfd_swmr_generator.c @@ -178,6 +178,8 @@ gen_skeleton(const char *filename, hbool_t verbose, hbool_t vfd_swmr_write, return -1; if(H5Awrite(aid, H5T_NATIVE_UINT, &random_seed) < 0) return -1; + if(H5Aclose(aid) < 0) + return -1; if(H5Sclose(sid) < 0) return -1; |