aboutsummaryrefslogtreecommitdiff
path: root/src/cell_explorer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cell_explorer.c')
-rw-r--r--src/cell_explorer.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/cell_explorer.c b/src/cell_explorer.c
index 9d4cdeec..7d1ca068 100644
--- a/src/cell_explorer.c
+++ b/src/cell_explorer.c
@@ -2039,15 +2039,13 @@ int main(int argc, char *argv[])
}
- w.cells[w.n_cells] = crystal_get_cell(cr);
+ w.cells[w.n_cells] = cell_new_from_cell(crystal_get_cell(cr));
if ( !right_handed(w.cells[w.n_cells]) ) {
ERROR("WARNING: Left-handed cell encountered\n");
}
w.indms[w.n_cells] = image->indexed_by;
w.n_cells++;
- crystal_free(cr);
-
}
n_chunks++;