From 7cdb05aa7f3b7df0f31cbd79a4799c5e60ec3d3f Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 18 Apr 2013 17:12:00 +0200 Subject: Fix small memory leak --- libcrystfel/src/cell-utils.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libcrystfel/src/cell-utils.c b/libcrystfel/src/cell-utils.c index 9c580ee3..b1604815 100644 --- a/libcrystfel/src/cell-utils.c +++ b/libcrystfel/src/cell-utils.c @@ -686,6 +686,8 @@ UnitCell *match_cell(UnitCell *cell_in, UnitCell *template_in, int verbose, free(cand[1]); free(cand[2]); + cell_free(cell); + /* Reverse the de-centering transformation */ if ( new_cell != NULL ) { -- cgit v1.2.3