diff options
-rw-r--r-- | src/indexamajig.c | 1 |
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; } } |