aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/calibrate_detector.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/calibrate_detector.c b/src/calibrate_detector.c
index e32cd9a0..044cc93d 100644
--- a/src/calibrate_detector.c
+++ b/src/calibrate_detector.c
@@ -237,6 +237,8 @@ static void dump_to_file(struct process_args *worker_args[], int nthreads,
snprintf(outfile, 255, "%s-%i.h5", stem, n);
hdf5_write(outfile, total, w, h, H5T_NATIVE_DOUBLE);
+
+ free(total);
}