aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-12-01 14:00:39 +0100
committerThomas White <taw@physics.org>2012-02-22 15:27:42 +0100
commit01178a2879889e2e5955e364f7c06bc7781bf046 (patch)
tree72742d4484208e6538119321de3e3850876f1b98 /libcrystfel
parent4b83b1cc6d3a38d8a8f16de5fe5f645b5e6498f0 (diff)
Fix a huge memory leak
Diffstat (limited to 'libcrystfel')
-rw-r--r--libcrystfel/src/geometry.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcrystfel/src/geometry.c b/libcrystfel/src/geometry.c
index 1aef080f..e05cbdc7 100644
--- a/libcrystfel/src/geometry.c
+++ b/libcrystfel/src/geometry.c
@@ -337,6 +337,8 @@ void update_partialities(struct image *image)
/* Transfer detector location */
get_detector_pos(vals, &x, &y);
set_detector_pos(refl, 0.0, x, y);
+
+ reflection_free(vals);
}
reflist_free(predicted);