aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}