diff options
author | Thomas White <taw@bitwiz.org.uk> | 2010-06-13 18:19:07 -0700 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:26:50 +0100 |
commit | 39566b52a63422dd6bf3706a88030dccb6bfecee (patch) | |
tree | 240e892e37f918c366cb68733b154f6fabe5c8c2 /src/calibrate_detector.c | |
parent | 9b631c29b0d33e1bc26f74a5e10b165fa6d3e5aa (diff) |
calibrate_detector: Fix the obvious memory leak
Diffstat (limited to 'src/calibrate_detector.c')
-rw-r--r-- | src/calibrate_detector.c | 2 |
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); } |