summaryrefslogtreecommitdiffstats
path: root/testpar/t_pshutdown.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/t_pshutdown.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/t_pshutdown.c')
-rw-r--r--testpar/t_pshutdown.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/testpar/t_pshutdown.c b/testpar/t_pshutdown.c
index af98a76..7629b9f 100644
--- a/testpar/t_pshutdown.c
+++ b/testpar/t_pshutdown.c
@@ -73,8 +73,8 @@ main(int argc, char **argv)
VRFY((dset_id >= 0), "H5Dcreate succeeded");
/* allocate memory for data buffer */
- data_array = (DATATYPE *)HDmalloc(dims[0] * dims[1] * sizeof(DATATYPE));
- VRFY((data_array != NULL), "data_array HDmalloc succeeded");
+ data_array = (DATATYPE *)malloc(dims[0] * dims[1] * sizeof(DATATYPE));
+ VRFY((data_array != NULL), "data_array malloc succeeded");
/* Each process takes a slabs of rows. */
block[0] = dims[0] / (hsize_t)mpi_size;
@@ -103,7 +103,7 @@ main(int argc, char **argv)
/* release data buffers */
if (data_array)
- HDfree(data_array);
+ free(data_array);
MPI_Finalize();