summaryrefslogtreecommitdiffstats
path: root/testpar/API/t_prop.c
diff options
context:
space:
mode:
Diffstat (limited to 'testpar/API/t_prop.c')
-rw-r--r--testpar/API/t_prop.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/testpar/API/t_prop.c b/testpar/API/t_prop.c
index 3065404..9c91906 100644
--- a/testpar/API/t_prop.c
+++ b/testpar/API/t_prop.c
@@ -39,7 +39,7 @@ test_encode_decode(hid_t orig_pl, int mpi_rank, int recv_proc)
ret = H5Pencode2(orig_pl, NULL, &buf_size, H5P_DEFAULT);
VRFY((ret >= 0), "H5Pencode succeeded");
- sbuf = (uint8_t *)HDmalloc(buf_size);
+ sbuf = (uint8_t *)malloc(buf_size);
ret = H5Pencode2(orig_pl, sbuf, &buf_size, H5P_DEFAULT);
VRFY((ret >= 0), "H5Pencode succeeded");
@@ -58,7 +58,7 @@ test_encode_decode(hid_t orig_pl, int mpi_rank, int recv_proc)
MPI_Recv(&recv_size, 1, MPI_INT, 0, 123, MPI_COMM_WORLD, &status);
VRFY((recv_size >= 0), "MPI_Recv succeeded");
buf_size = (size_t)recv_size;
- rbuf = (uint8_t *)HDmalloc(buf_size);
+ rbuf = (uint8_t *)malloc(buf_size);
MPI_Recv(rbuf, recv_size, MPI_BYTE, 0, 124, MPI_COMM_WORLD, &status);
pl = H5Pdecode(rbuf);
@@ -70,7 +70,7 @@ test_encode_decode(hid_t orig_pl, int mpi_rank, int recv_proc)
VRFY((ret >= 0), "H5Pclose succeeded");
if (NULL != rbuf)
- HDfree(rbuf);
+ free(rbuf);
} /* end if */
if (0 == mpi_rank) {
@@ -85,7 +85,7 @@ test_encode_decode(hid_t orig_pl, int mpi_rank, int recv_proc)
}
if (NULL != sbuf)
- HDfree(sbuf);
+ free(sbuf);
MPI_Barrier(MPI_COMM_WORLD);
return 0;