aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/mosflm.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/mosflm.c
parentc3ce11bc291eb890ec0061892534802e75e3c2c1 (diff)
Fix multiple small memory leaks
Diffstat (limited to 'libcrystfel/src/mosflm.c')
-rw-r--r--libcrystfel/src/mosflm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcrystfel/src/mosflm.c b/libcrystfel/src/mosflm.c
index c92ef343..162299b7 100644
--- a/libcrystfel/src/mosflm.c
+++ b/libcrystfel/src/mosflm.c
@@ -519,6 +519,7 @@ static void mosflm_send_next(struct image *image, struct mosflm_data *mosflm)
symm = spacegroup_for_lattice(mosflm->mp->template);
snprintf(tmp, 255, "SYMM %s\n", symm);
+ free(symm);
mosflm_sendline(tmp, mosflm);
} else {