aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2013-04-18 17:12:00 +0200
committerThomas White <taw@physics.org>2013-04-18 17:12:00 +0200
commit7cdb05aa7f3b7df0f31cbd79a4799c5e60ec3d3f (patch)
tree401a904dbe9c19648d09f6d36d033a4a15c1d62b
parent79993f9373e4a7fdcbff8a7d83af4b7289622cf3 (diff)
Fix small memory leak
-rw-r--r--libcrystfel/src/cell-utils.c2
1 files changed, 2 insertions, 0 deletions
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 ) {