summaryrefslogtreecommitdiffstats
path: root/tools/src/h5perf/pio_engine.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 /tools/src/h5perf/pio_engine.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 'tools/src/h5perf/pio_engine.c')
-rw-r--r--tools/src/h5perf/pio_engine.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/src/h5perf/pio_engine.c b/tools/src/h5perf/pio_engine.c
index e6f0834..cbe9a17 100644
--- a/tools/src/h5perf/pio_engine.c
+++ b/tools/src/h5perf/pio_engine.c
@@ -166,7 +166,7 @@ do_pio(parameters param)
/* IO type */
iot = param.io_type;
- if (NULL == (fname = HDcalloc(FILENAME_MAX, sizeof(char))))
+ if (NULL == (fname = calloc(FILENAME_MAX, sizeof(char))))
GOTOERROR(FAIL);
switch (iot) {
@@ -366,8 +366,8 @@ done:
}
/* release generic resources */
- HDfree(buffer);
- HDfree(fname);
+ free(buffer);
+ free(fname);
res.ret_code = ret_code;
return res;
}