diff options
Diffstat (limited to 'libcrystfel/src/image-cbf.c')
-rw-r--r-- | libcrystfel/src/image-cbf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcrystfel/src/image-cbf.c b/libcrystfel/src/image-cbf.c index 1e5659f4..8a97cc6d 100644 --- a/libcrystfel/src/image-cbf.c +++ b/libcrystfel/src/image-cbf.c @@ -307,7 +307,7 @@ static float *read_cbf_data(const char *filename, int gz, int *w, int *h) if ( len_read == bufinc ) { bufsz += bufinc; - buf = realloc(buf, bufsz); + buf = srealloc(buf, bufsz); if ( buf == NULL ) return NULL; } |