aboutsummaryrefslogtreecommitdiff
path: root/src/reflist-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/reflist-utils.c')
-rw-r--r--src/reflist-utils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/reflist-utils.c b/src/reflist-utils.c
index a572faf7..3991600d 100644
--- a/src/reflist-utils.c
+++ b/src/reflist-utils.c
@@ -394,6 +394,7 @@ RefList *asymmetric_indices(RefList *in, const SymOpList *sym)
RefList *new;
new = reflist_new();
+ if ( new == NULL ) return NULL;
for ( refl = first_refl(in, &iter);
refl != NULL;