aboutsummaryrefslogtreecommitdiff
path: root/src/index.c
diff options
context:
space:
mode:
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]);
}
}