aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src')
-rw-r--r--libcrystfel/src/hdf5-file.c3
1 files changed, 3 insertions, 0 deletions
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;
}