does HDF5 resource need to be freed/closed before I use it again
I am writing an .h5 file in C++ and using some API calls as below. The HDF5 reference manual states that the identifier returned from these functions should be released to prevent leaks.