From 1a37de5cce5c2df83e37fb189409659299594b1b Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 22 Oct 2014 17:50:37 +0200 Subject: Fix a load of memory 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 34bde83a..55adf287 100644 --- a/libcrystfel/src/integration.c +++ b/libcrystfel/src/integration.c @@ -641,6 +641,7 @@ static void delete_box(struct intcontext *ic, struct peak_box *bx) } free(bx->bm); + gsl_matrix_free(bx->bgm); memmove(&ic->boxes[i], &ic->boxes[i+1], (ic->n_boxes-i-1)*sizeof(struct peak_box)); -- cgit v1.2.3