Fix a memory leak in h5view