aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-11-14 15:29:38 +0100
committerThomas White <taw@physics.org>2012-02-22 15:27:40 +0100
commit404c612223dbfa0210902ebc5c9226927335aa65 (patch)
treeefeeadd1f21149ac970548b3a25e19ee96588bbe /src
parent92c8e54dc695afe1e3be1c2e022492016b12d8ba (diff)
Fix a potential memory leak
Diffstat (limited to 'src')
-rw-r--r--src/indexamajig.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/indexamajig.c b/src/indexamajig.c
index 7ce661aa..c770e53a 100644
--- a/src/indexamajig.c
+++ b/src/indexamajig.c
@@ -302,6 +302,7 @@ static void process_image(void *pp, int cookie)
ERROR("No wavelength in file, so you need to give "
"a beam parameters file with -b.\n");
hdfile_close(hdfile);
+ free_detector_geometry(image.det);
return;
}
}