diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2016-04-30 06:10:38 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2016-04-30 06:10:38 (GMT) |
commit | bd33a9d6da4f56884eaf5dc750186a6c02c90446 (patch) | |
tree | 2bb71d0ed2ebbb447c28e8e77ecf55ce01340d9f /src/H5CS.c | |
parent | f63b2c50ac95fb8363a9b8143d3a3d5f50c58d35 (diff) | |
download | hdf5-bd33a9d6da4f56884eaf5dc750186a6c02c90446.zip hdf5-bd33a9d6da4f56884eaf5dc750186a6c02c90446.tar.gz hdf5-bd33a9d6da4f56884eaf5dc750186a6c02c90446.tar.bz2 |
[svn-r29842] Description:
Bring [appropriate portions of] r29811, 29813, 29826, 29830, 29831 from
revise_chunks branch to the trunk.
Tested on:
MacOSX/64 10.11.4 (amazon) w/serial, parallel & production
(h5committest forthcoming)
Diffstat (limited to 'src/H5CS.c')
-rw-r--r-- | src/H5CS.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -192,6 +192,8 @@ H5CS_push(const char *func_name) /* Check if we need to expand the stack of records */ if(fstack->nused == fstack->nalloc) { size_t na = MAX((fstack->nalloc * 2), H5CS_MIN_NSLOTS); + + /* Don't use H5MM_realloc here */ const char **x = (const char **)HDrealloc(fstack->rec, na * sizeof(const char *)); /* (Avoid returning an error from this routine, currently -QAK) */ |