summaryrefslogtreecommitdiffstats
path: root/test/ohdr.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/ohdr.c')
-rw-r--r--test/ohdr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/ohdr.c b/test/ohdr.c
index 0a25993..5425b2b 100644
--- a/test/ohdr.c
+++ b/test/ohdr.c
@@ -343,6 +343,8 @@ main(void)
/* Open the dataset with the "mark if unknown" message */
if((dset = H5Dopen2(file, "/Dataset3", H5P_DEFAULT)) < 0)
TEST_ERROR
+
+ /* Close the dataset */
if(H5Dclose(dset) < 0)
TEST_ERROR