aboutsummaryrefslogtreecommitdiff
path: root/src/calibrate_detector.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-07-06 18:33:32 +0200
committerThomas White <taw@physics.org>2012-02-22 15:26:53 +0100
commite72860a25299a460dbecdda656c7d94776dbfeae (patch)
treef91cb986edfe6a377b1ff40b2d446403c4515d50 /src/calibrate_detector.c
parent0c658d713a96463f6e1c7c43dfd9dc8bd40a158d (diff)
calibrate_detector: Fix memory leak
Diffstat (limited to 'src/calibrate_detector.c')
-rw-r--r--src/calibrate_detector.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/calibrate_detector.c b/src/calibrate_detector.c
index 68c9782b..8902ea87 100644
--- a/src/calibrate_detector.c
+++ b/src/calibrate_detector.c
@@ -209,6 +209,7 @@ static void process_image(struct process_args *pargs)
out:
free(image.data);
+ image_feature_list_free(image.features);
if ( image.flags != NULL ) free(image.flags);
hdfile_close(hdfile);
}