summaryrefslogtreecommitdiffstats
path: root/src/H5CS.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5CS.c')
-rw-r--r--src/H5CS.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/H5CS.c b/src/H5CS.c
index f1d3a8b..477b5f9 100644
--- a/src/H5CS.c
+++ b/src/H5CS.c
@@ -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) */