diff options
author | Thomas White <taw@physics.org> | 2011-07-26 18:02:43 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:34 +0100 |
commit | 7bac028af325feebe706072441cfc0e672ffca45 (patch) | |
tree | 2d783df6dab6cbef7071b9b5c98a3b1892eafabb | |
parent | e62b303c7cdb32deecf94e29cf4a8369a9c805b7 (diff) |
Check for NULL value
-rw-r--r-- | src/reflist-utils.c | 1 |
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; |