From f0a96798696fe08a4c45a8ea41a8175faf13774a Mon Sep 17 00:00:00 2001 From: Thomas White Date: Fri, 26 Jun 2015 17:05:37 +0200 Subject: Plug some more leaks --- libcrystfel/src/integration.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libcrystfel/src/integration.c') 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; } -- cgit v1.2.3