aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/dirax.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2013-06-01 19:00:01 -0700
committerThomas White <taw@physics.org>2013-06-01 19:00:01 -0700
commit3104cf229230151e8ca158144952d474f4b61aa3 (patch)
tree265cf4fc702109fd3a2066fa306a8d12203a7340 /libcrystfel/src/dirax.c
parentc3ce11bc291eb890ec0061892534802e75e3c2c1 (diff)
Fix multiple small memory leaks
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;