summaryrefslogtreecommitdiffstats
path: root/test/cache_logging.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/cache_logging.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/cache_logging.c')
-rw-r--r--test/cache_logging.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/cache_logging.c b/test/cache_logging.c
index 67cf13d..fbdf552 100644
--- a/test/cache_logging.c
+++ b/test/cache_logging.c
@@ -77,7 +77,7 @@ test_logging_api(void)
TEST_ERROR;
/* Check to make sure that the property list getter works */
- if (NULL == (location = (char *)HDcalloc(size, sizeof(char))))
+ if (NULL == (location = (char *)calloc(size, sizeof(char))))
TEST_ERROR;
if (H5Pget_mdc_log_options(fapl, &is_enabled_out, location, &size, &start_on_access_out) < 0)
TEST_ERROR;
@@ -127,7 +127,7 @@ test_logging_api(void)
TEST_ERROR;
/* Clean up */
- HDfree(location);
+ free(location);
if (H5Fclose(fid) < 0)
TEST_ERROR;