From ab848a3aeb3ba2744fd4e788105cf2d9c0ef8246 Mon Sep 17 00:00:00 2001 From: Dennis Heimbigner Date: Wed, 21 Nov 2018 16:19:14 -0700 Subject: [PATCH] Forgot to change realloc -> H5resize_memory in H5Zbzip2.c --- plugins/H5Zbzip2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/H5Zbzip2.c b/plugins/H5Zbzip2.c index f9c49e21b..993455b43 100644 --- a/plugins/H5Zbzip2.c +++ b/plugins/H5Zbzip2.c @@ -123,7 +123,7 @@ size_t H5Z_filter_bzip2(unsigned int flags, size_t cd_nelmts, if (ret != BZ_STREAM_END && stream.avail_out == 0) { /* Grow the output buffer. */ newbuflen = outbuflen * 2; - newbuf = realloc(outbuf, newbuflen); + newbuf = H5resize_memory(outbuf, newbuflen); if (newbuf == NULL) { fprintf(stderr, "memory allocation failed for bzip2 decompression\n"); goto cleanupAndFail;