diff options
author | Thomas White <taw@physics.org> | 2017-05-26 16:41:47 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2017-06-21 14:27:20 +0200 |
commit | af43cdaa8e9d53b71f7ca0dfc0f16040c96fef7c (patch) | |
tree | 3697f5a11d85ff4076250e5ecc0fd1653f2bbed1 /libcrystfel/src/hdf5-file.c | |
parent | 054fefd62406a76711cb8ddaa5d2e5e9271570a0 (diff) |
Close leftover HDF5 handles
Diffstat (limited to 'libcrystfel/src/hdf5-file.c')
-rw-r--r-- | libcrystfel/src/hdf5-file.c | 3 |
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; } |