aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/integration.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2015-06-26 17:05:37 +0200
committerThomas White <taw@physics.org>2015-06-26 17:57:15 +0200
commitf0a96798696fe08a4c45a8ea41a8175faf13774a (patch)
treed03b6314d81823d034a88f661681697d6d286f4b /libcrystfel/src/integration.c
parentd19afd914f7844945b0a44ef2fcb0def29f92046 (diff)
Plug some more leaks
Diffstat (limited to 'libcrystfel/src/integration.c')
-rw-r--r--libcrystfel/src/integration.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcrystfel/src/integration.c b/libcrystfel/src/integration.c
index 16c27bbe..c267b4a8 100644
--- a/libcrystfel/src/integration.c
+++ b/libcrystfel/src/integration.c
@@ -1533,6 +1533,7 @@ static double estimate_resolution(UnitCell *cell, ImageFeatureList *flist)
if ( n_acc < 3 ) {
STATUS("WARNING: Too few peaks to estimate resolution.\n");
+ free(acc);
return 0.0;
}