diff options
Diffstat (limited to 'test/dsets.c')
-rw-r--r-- | test/dsets.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/dsets.c b/test/dsets.c index 80ca27d..739af4a 100644 --- a/test/dsets.c +++ b/test/dsets.c @@ -754,6 +754,7 @@ test_types(hid_t file) for (i=0; i<sizeof buf; i++) buf[i] = (unsigned char)0xff ^ (unsigned char)i; if (H5Dwrite(dset, type, H5S_ALL, H5S_ALL, H5P_DEFAULT, buf)<0) goto error; + if (H5Sclose(space)<0) goto error; if (H5Tclose(type)<0) goto error; if (H5Dclose(dset)<0) goto error; |