aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2017-06-21 15:04:01 +0200
committerThomas White <taw@physics.org>2017-06-21 15:04:34 +0200
commit3c80790a4ddd12f3d1d864d12a0126acf24ed47e (patch)
tree1dcf733056ce53eb7150f96dd89173f7bfb7eff5
parent6e10e48b217ea7abfc0e9edc3ef6211f676e5c31 (diff)
Close more leftover HDF5 handles
-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 eafc624d..13339506 100644
--- a/libcrystfel/src/hdf5-file.c
+++ b/libcrystfel/src/hdf5-file.c
@@ -1233,6 +1233,9 @@ static int get_scalar_value(struct hdfile *f, const char *name, void *val,
return 1;
}
+ H5Tclose(type);
+ H5Dclose(dh);
+
return 0;
}