diff options
author | Thomas White <taw@physics.org> | 2024-10-16 16:58:15 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2024-10-16 16:58:49 +0200 |
commit | 2b66658502f4d072fae263f66e3ff5b373aa7a2a (patch) | |
tree | 0b2e02c59d4cee1bdc24246932f386e2bb2b887c /libcrystfel | |
parent | b31cddb1021d5651cf05aced7cd488443cc0a9d7 (diff) |
smallcell: Fix double free
These are copies of Nodelists already in Max_cliques.
Diffstat (limited to 'libcrystfel')
-rw-r--r-- | libcrystfel/src/indexers/smallcell.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libcrystfel/src/indexers/smallcell.c b/libcrystfel/src/indexers/smallcell.c index da8daefa..0d8b1e0d 100644 --- a/libcrystfel/src/indexers/smallcell.c +++ b/libcrystfel/src/indexers/smallcell.c @@ -708,9 +708,6 @@ int smallcell_index(struct image *image, void *mpriv) for ( i=0; i<Max_cliques->n; i++ ) { cffree(Max_cliques->list[i]); } - for ( i=0; i<Max->n; i++ ) { - cffree(Max->list[i]); - } cffree(Max_cliques); cffree(Max); |