aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/symmetry.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/symmetry.c b/src/symmetry.c
index 33eb7b86..dc0d2e86 100644
--- a/src/symmetry.c
+++ b/src/symmetry.c
@@ -631,11 +631,13 @@ int check_symmetry(ReflItemList *items, const char *sym)
}
if ( found > 1 ) {
- STATUS("%i found for %i %i %i\n", found, it->h, it->k, it->l);
+ free(flags);
return 1; /* Symmetry is wrong! */
}
}
+ free(flags);
+
return 0;
}