fixed several memory leaks of local HD5Read buffers