aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/dirax.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src/dirax.c')
-rw-r--r--libcrystfel/src/dirax.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcrystfel/src/dirax.c b/libcrystfel/src/dirax.c
index 99e1accb..55e65fd1 100644
--- a/libcrystfel/src/dirax.c
+++ b/libcrystfel/src/dirax.c
@@ -242,6 +242,8 @@ static void dirax_parseline(const char *line, struct image *image,
dirax->done = 1;
dirax->success = 1;
}
+ cell_free(dirax->cur_cell);
+ dirax->cur_cell = NULL;
return;