diff options
author | Thomas White <taw@bitwiz.org.uk> | 2011-08-17 19:18:19 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:36 +0100 |
commit | e0ea45c6f3b5eb4c6e4937aa85b40d102de61dc6 (patch) | |
tree | 8c924bd35f41e9d3c24df463e7def0b1179eb170 /src | |
parent | 19f5640603a040f3e1640a2b34c68cb04e1f8e18 (diff) |
Don't free the SymOpMask just before using it
Diffstat (limited to 'src')
-rw-r--r-- | src/reflist-utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reflist-utils.c b/src/reflist-utils.c index 999ceeaf..4ad5fa1c 100644 --- a/src/reflist-utils.c +++ b/src/reflist-utils.c @@ -145,7 +145,6 @@ int check_list_symmetry(RefList *list, const SymOpList *sym) assert(found != 0); /* That'd just be silly */ if ( found > 1 ) { - free_symopmask(mask); STATUS("Found %i %i %i: %i times:\n", h, k, l, found); for ( j=0; j<n; j++ ) { @@ -161,6 +160,7 @@ int check_list_symmetry(RefList *list, const SymOpList *sym) } } + free_symopmask(mask); return 1; /* Symmetry is wrong! */ } |