diff options
author | Allen Byrne <50328838+byrnHDF@users.noreply.github.com> | 2021-08-19 18:19:15 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-19 18:19:15 (GMT) |
commit | b19234c31a219f8feb88606f1db4c8074fe10ef8 (patch) | |
tree | a9a744dfc0aaa61929c1f54491a71f5fb3842920 /java | |
parent | 837a044f773aebcd8e07ea7ae0a26ad37dd80f27 (diff) | |
download | hdf5-b19234c31a219f8feb88606f1db4c8074fe10ef8.zip hdf5-b19234c31a219f8feb88606f1db4c8074fe10ef8.tar.gz hdf5-b19234c31a219f8feb88606f1db4c8074fe10ef8.tar.bz2 |
Correct dataset close in java test #919 (#920)
Diffstat (limited to 'java')
-rw-r--r-- | java/test/TestH5Arw.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/test/TestH5Arw.java b/java/test/TestH5Arw.java index 282b736..8ce2fee 100644 --- a/java/test/TestH5Arw.java +++ b/java/test/TestH5Arw.java @@ -100,7 +100,7 @@ public class TestH5Arw { if (H5aid >= 0) try {H5.H5Aclose(H5aid);} catch (Exception ex) {} if (H5did >= 0) - try {H5.H5Aclose(H5did);} catch (Exception ex) {} + try {H5.H5Dclose(H5did);} catch (Exception ex) {} if (H5fid > 0) try {H5.H5Fclose(H5fid);} catch (Exception ex) {} H5fid = HDF5Constants.H5I_INVALID_HID; |