diff options
author | Thomas White <taw@physics.org> | 2011-12-01 14:00:39 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:42 +0100 |
commit | 01178a2879889e2e5955e364f7c06bc7781bf046 (patch) | |
tree | 72742d4484208e6538119321de3e3850876f1b98 | |
parent | 4b83b1cc6d3a38d8a8f16de5fe5f645b5e6498f0 (diff) |
Fix a huge memory leak
-rw-r--r-- | libcrystfel/src/geometry.c | 2 |
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); |