summaryrefslogtreecommitdiffstats
path: root/testpar/API/testphdf5.c
diff options
context:
space:
mode:
Diffstat (limited to 'testpar/API/testphdf5.c')
-rw-r--r--testpar/API/testphdf5.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testpar/API/testphdf5.c b/testpar/API/testphdf5.c
index 6d34e1d..b02d0a3 100644
--- a/testpar/API/testphdf5.c
+++ b/testpar/API/testphdf5.c
@@ -353,7 +353,7 @@ main(int argc, char **argv)
#if 0
HDmemset(filenames, 0, sizeof(filenames));
for (int i = 0; i < NFILENAME; i++) {
- if (NULL == (filenames[i] = HDmalloc(PATH_MAX))) {
+ if (NULL == (filenames[i] = malloc(PATH_MAX))) {
printf("couldn't allocate filename array\n");
MPI_Abort(MPI_COMM_WORLD, -1);
}
@@ -987,7 +987,7 @@ main(int argc, char **argv)
#if 0
for (int i = 0; i < NFILENAME; i++) {
- HDfree(filenames[i]);
+ free(filenames[i]);
filenames[i] = NULL;
}
#endif