summaryrefslogtreecommitdiffstats
path: root/testpar/API/H5_api_test_parallel.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 /testpar/API/H5_api_test_parallel.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 'testpar/API/H5_api_test_parallel.c')
-rw-r--r--testpar/API/H5_api_test_parallel.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/testpar/API/H5_api_test_parallel.c b/testpar/API/H5_api_test_parallel.c
index c913746..47c974d 100644
--- a/testpar/API/H5_api_test_parallel.c
+++ b/testpar/API/H5_api_test_parallel.c
@@ -141,7 +141,7 @@ generate_random_parallel_dimensions(int space_rank, hsize_t **dims_out)
if (space_rank <= 0)
goto error;
- if (NULL == (dims = HDmalloc((size_t)space_rank * sizeof(hsize_t))))
+ if (NULL == (dims = malloc((size_t)space_rank * sizeof(hsize_t))))
goto error;
if (MAINPROCESS) {
for (i = 0; i < (size_t)space_rank; i++) {
@@ -164,7 +164,7 @@ generate_random_parallel_dimensions(int space_rank, hsize_t **dims_out)
error:
if (dims)
- HDfree(dims);
+ free(dims);
return -1;
}
@@ -445,7 +445,7 @@ main(int argc, char **argv)
HDexit(EXIT_SUCCESS);
error:
- HDfree(vol_connector_string_copy);
+ free(vol_connector_string_copy);
H5E_BEGIN_TRY
{