aboutsummaryrefslogtreecommitdiff
path: root/src/index.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-09-08 12:22:37 +0200
committerThomas White <taw@physics.org>2012-02-22 15:26:57 +0100
commitc81d04eb776260f4499f3f3824bc5d02e42ef58c (patch)
tree83a57f955a65d65e5c65016662f5a7230cc5fe0d /src/index.c
parent9526f8c65df5fdb21247b57cd414c258375dc798 (diff)
Fix unit cell point group memory leak
Diffstat (limited to 'src/index.c')
-rw-r--r--src/index.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index.c b/src/index.c
index 16265865..b5d9da9e 100644
--- a/src/index.c
+++ b/src/index.c
@@ -176,6 +176,6 @@ void index_pattern(struct image *image, UnitCell *cell, IndexingMethod indm,
done:
for ( i=0; i<image->ncells; i++ ) {
- free(image->candidate_cells[i]);
+ cell_free(image->candidate_cells[i]);
}
}