diff options
author | Thomas White <taw@bitwiz.org.uk> | 2012-09-04 18:33:24 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-10-02 15:02:12 +0200 |
commit | efd2a45e256d3d16d2f93ed24dedb8ecb9ca53ef (patch) | |
tree | a49329f959818e305e058d4018ffabc7a61c7338 /libcrystfel/src/symmetry.c | |
parent | 4b3ffa51ec169406185a76016a29833bc9637264 (diff) |
WIP
Diffstat (limited to 'libcrystfel/src/symmetry.c')
-rw-r--r-- | libcrystfel/src/symmetry.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libcrystfel/src/symmetry.c b/libcrystfel/src/symmetry.c index 68b39bcb..52a9aae6 100644 --- a/libcrystfel/src/symmetry.c +++ b/libcrystfel/src/symmetry.c @@ -256,6 +256,7 @@ int num_equivs(const SymOpList *ops, const SymOpMask *m) static signed int *v(signed int h, signed int k, signed int i, signed int l) { signed int *vec = malloc(3*sizeof(signed int)); + if ( vec == NULL ) return NULL; /* Convert back to 3-index form now */ vec[0] = h-i; vec[1] = k-i; vec[2] = l; return vec; |