aboutsummaryrefslogtreecommitdiff
path: root/src/reflist-utils.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2011-08-17 19:18:19 +0200
committerThomas White <taw@physics.org>2012-02-22 15:27:36 +0100
commite0ea45c6f3b5eb4c6e4937aa85b40d102de61dc6 (patch)
tree8c924bd35f41e9d3c24df463e7def0b1179eb170 /src/reflist-utils.c
parent19f5640603a040f3e1640a2b34c68cb04e1f8e18 (diff)
Don't free the SymOpMask just before using it
Diffstat (limited to 'src/reflist-utils.c')
-rw-r--r--src/reflist-utils.c2
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! */
}