diff options
-rw-r--r-- | src/H5HFcache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5HFcache.c b/src/H5HFcache.c index cd54db1..916c2e1 100644 --- a/src/H5HFcache.c +++ b/src/H5HFcache.c @@ -702,7 +702,7 @@ HDfprintf(stderr, "%s: Load indirect block, addr = %a\n", FUNC, addr); HDassert(par_info); /* Allocate space for the fractal heap indirect block */ - if(NULL == (iblock = H5FL_MALLOC(H5HF_indirect_t))) + if(NULL == (iblock = H5FL_CALLOC(H5HF_indirect_t))) HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, NULL, "memory allocation failed") HDmemset(&iblock->cache_info, 0, sizeof(H5AC_info_t)); |