diff options
Diffstat (limited to 'libcrystfel/src/indexers/taketwo.c')
-rw-r--r-- | libcrystfel/src/indexers/taketwo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcrystfel/src/indexers/taketwo.c b/libcrystfel/src/indexers/taketwo.c index cd4d87a6..72aa0bad 100644 --- a/libcrystfel/src/indexers/taketwo.c +++ b/libcrystfel/src/indexers/taketwo.c @@ -1751,7 +1751,7 @@ static int match_obs_to_cell_vecs(struct TheoryVec *cell_vecs, int cell_vec_coun /* we have a match, add to array! */ size_t new_size = (count+1)*sizeof(struct sortme); - for_sort = realloc(for_sort, new_size); + for_sort = srealloc(for_sort, new_size); if ( for_sort == NULL ) return 0; |