summaryrefslogtreecommitdiffstats
path: root/test/fillval.c
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1999-01-07 11:42:04 (GMT)
committerRobb Matzke <matzke@llnl.gov>1999-01-07 11:42:04 (GMT)
commit4f7e218959be3076c079a9cabede8c167bb35689 (patch)
tree33b8c8d59034a132b79abe1d9b28382e812c5f91 /test/fillval.c
parent504aa95bd92511ccb80e6321dd79f7dc525310d5 (diff)
downloadhdf5-4f7e218959be3076c079a9cabede8c167bb35689.zip
hdf5-4f7e218959be3076c079a9cabede8c167bb35689.tar.gz
hdf5-4f7e218959be3076c079a9cabede8c167bb35689.tar.bz2
[svn-r1011] Changes since 19981217
---------------------- ./test/dtypes.c ./test/enum.c [NEW] Added support for enumeration data types. ./test/fillval.c ./test/istore.c Fixed memory leaks during error handling.
Diffstat (limited to 'test/fillval.c')
-rw-r--r--test/fillval.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/test/fillval.c b/test/fillval.c
index 53190a1..a4b0fd1 100644
--- a/test/fillval.c
+++ b/test/fillval.c
@@ -534,7 +534,7 @@ test_extend(hid_t fapl, const char *basename, H5D_layout_t layout)
if (H5D_CONTIGUOUS==layout) {
SKIPPED();
puts(" Not implemented yet -- needs H5S_SELECT_DIFF operator");
- return 0;
+ goto skip;
}
#endif
@@ -665,6 +665,16 @@ test_extend(hid_t fapl, const char *basename, H5D_layout_t layout)
H5Fclose(file);
} H5E_END_TRY;
return 1;
+
+ skip:
+ H5E_BEGIN_TRY {
+ H5Dclose(dset);
+ H5Sclose(fspace);
+ H5Sclose(mspace);
+ H5Pclose(dcpl);
+ H5Fclose(file);
+ } H5E_END_TRY;
+ return 0;
}