summaryrefslogtreecommitdiffstats
path: root/src/H5SL.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2020-05-15 15:49:17 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2020-05-15 15:49:17 (GMT)
commitc30cf6d59664f63573b31efa4e73b41de168e381 (patch)
tree8de847542c4c0f2f86981db312a4f8ee4ac1f5ee /src/H5SL.c
parent730d6cc53f3914f951e1177fc29835486b61dcdb (diff)
downloadhdf5-c30cf6d59664f63573b31efa4e73b41de168e381.zip
hdf5-c30cf6d59664f63573b31efa4e73b41de168e381.tar.gz
hdf5-c30cf6d59664f63573b31efa4e73b41de168e381.tar.bz2
Moved H5MM_memcpy and H5MM_xfree_const from develop
Diffstat (limited to 'src/H5SL.c')
-rw-r--r--src/H5SL.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5SL.c b/src/H5SL.c
index c0934ca..5f00fb8 100644
--- a/src/H5SL.c
+++ b/src/H5SL.c
@@ -240,7 +240,7 @@
/* Allocate space for new forward pointers */ \
if(NULL == (_tmp = (H5SL_node_t **)H5FL_FAC_MALLOC(H5SL_fac_g[X->log_nalloc]))) \
HGOTO_ERROR(H5E_SLIST, H5E_CANTALLOC, ERR, "memory allocation failed") \
- HDmemcpy((void *)_tmp, (const void *)X->forward, (LVL + 1) * sizeof(H5SL_node_t *)); \
+ H5MM_memcpy((void *)_tmp, (const void *)X->forward, (LVL + 1) * sizeof(H5SL_node_t *)); \
X->forward = (H5SL_node_t **)H5FL_FAC_FREE(H5SL_fac_g[X->log_nalloc-1], (void *)X->forward); \
X->forward = _tmp; \
} /* end if */ \
@@ -262,7 +262,7 @@
/* Allocate space for new forward pointers */ \
if(NULL == (_tmp = (H5SL_node_t **)H5FL_FAC_MALLOC(H5SL_fac_g[X->log_nalloc]))) \
HGOTO_ERROR(H5E_SLIST, H5E_NOSPACE, NULL, "memory allocation failed") \
- HDmemcpy((void *)_tmp, (const void *)X->forward, (LVL) * sizeof(H5SL_node_t *)); \
+ H5MM_memcpy((void *)_tmp, (const void *)X->forward, (LVL) * sizeof(H5SL_node_t *)); \
X->forward = (H5SL_node_t **)H5FL_FAC_FREE(H5SL_fac_g[X->log_nalloc+1], (void *)X->forward); \
X->forward = _tmp; \
} /* end if */ \