From af43cdaa8e9d53b71f7ca0dfc0f16040c96fef7c Mon Sep 17 00:00:00 2001 From: Thomas White Date: Fri, 26 May 2017 16:41:47 +0200 Subject: Close leftover HDF5 handles --- libcrystfel/src/hdf5-file.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libcrystfel/src/hdf5-file.c b/libcrystfel/src/hdf5-file.c index 77a69dbd..eafc624d 100644 --- a/libcrystfel/src/hdf5-file.c +++ b/libcrystfel/src/hdf5-file.c @@ -2647,6 +2647,9 @@ static int check_dims(struct hdfile *hdfile, struct panel *p, struct event *ev, return 1; } + H5Sclose(sh); + H5Dclose(dh); + return 0; } -- cgit v1.2.3