diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2019-12-08 20:43:06 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-05-20 14:20:20 (GMT) |
commit | 271432db353c05626479a8e490eab5b27d2ee21e (patch) | |
tree | 308b8ef01a528e68c4838ee61fc3a1548dafd56b /java | |
parent | ff35d0e423dcd6dc9b329e835c8fb767570d04da (diff) | |
download | hdf5-271432db353c05626479a8e490eab5b27d2ee21e.zip hdf5-271432db353c05626479a8e490eab5b27d2ee21e.tar.gz hdf5-271432db353c05626479a8e490eab5b27d2ee21e.tar.bz2 |
Add H5Rdestroy calls to cleanup
Diffstat (limited to 'java')
-rw-r--r-- | java/test/TestH5R.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/java/test/TestH5R.java b/java/test/TestH5R.java index 2555db1..7b9f538 100644 --- a/java/test/TestH5R.java +++ b/java/test/TestH5R.java @@ -297,6 +297,7 @@ public class TestH5R { fail("testH5Rget_object: H5Rget_obj_name: " + err); } assertTrue("The name of the object: ", objName.equals(name)); + H5.H5Rdestroy(ref); } @Test @@ -321,6 +322,7 @@ public class TestH5R { fail("testH5Rget_obj_type3: H5.H5Rget_obj_type3: " + err); } assertEquals(obj_type, HDF5Constants.H5O_TYPE_DATASET); + H5.H5Rdestroy(ref); } @Test @@ -348,6 +350,7 @@ public class TestH5R { fail("testH5Rget_object: H5Rcreate_region " + err); } assertNotNull(ref); + H5.H5Rdestroy(ref); } // These tests need to be updated with new APIs |