aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libcrystfel/src/image.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcrystfel/src/image.c b/libcrystfel/src/image.c
index 22ee7467..898f4863 100644
--- a/libcrystfel/src/image.c
+++ b/libcrystfel/src/image.c
@@ -1600,6 +1600,7 @@ void image_free(struct image *image)
if ( image->detgeom != NULL ) {
np = image->detgeom->n_panels;
+ detgeom_free(image->detgeom);
} else if ( image->det != NULL ) {
np = image->det->n_panels;
} else {