summaryrefslogtreecommitdiffstats
path: root/test/tchecksum.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-06-28 22:48:12 (GMT)
committerGitHub <noreply@github.com>2023-06-28 22:48:12 (GMT)
commitaebac33a1f290fa5065bce96bb0512317a34c283 (patch)
treecdbae6dbd65a2eb4e6f786921ee907cec92c92d3 /test/tchecksum.c
parent605cea4af60cfcbe03a54f697de392eec75e5a85 (diff)
downloadhdf5-aebac33a1f290fa5065bce96bb0512317a34c283.zip
hdf5-aebac33a1f290fa5065bce96bb0512317a34c283.tar.gz
hdf5-aebac33a1f290fa5065bce96bb0512317a34c283.tar.bz2
Remove HD from memory allocate/free calls (#3195)
* HDcalloc * HDfree * HDmalloc * HDrealloc
Diffstat (limited to 'test/tchecksum.c')
-rw-r--r--test/tchecksum.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/tchecksum.c b/test/tchecksum.c
index a77ffcd..4aa300e 100644
--- a/test/tchecksum.c
+++ b/test/tchecksum.c
@@ -180,8 +180,8 @@ test_chksum_large(void)
size_t u; /* Local index variable */
/* Allocate the buffer */
- large_buf = (uint8_t *)HDmalloc((size_t)BUF_LEN);
- CHECK_PTR(large_buf, "HDmalloc");
+ large_buf = (uint8_t *)malloc((size_t)BUF_LEN);
+ CHECK_PTR(large_buf, "malloc");
/* Initialize buffer w/known data */
for (u = 0; u < BUF_LEN; u++)
@@ -209,7 +209,7 @@ test_chksum_large(void)
VERIFY(chksum, 0x930c7afc, "H5_checksum_lookup3");
/* Release memory for buffer */
- HDfree(large_buf);
+ free(large_buf);
} /* test_chksum_large() */
/****************************************************************