summaryrefslogtreecommitdiffstats
path: root/utils/tools/h5dwalk/h5dwalk.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 /utils/tools/h5dwalk/h5dwalk.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 'utils/tools/h5dwalk/h5dwalk.c')
-rw-r--r--utils/tools/h5dwalk/h5dwalk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/tools/h5dwalk/h5dwalk.c b/utils/tools/h5dwalk/h5dwalk.c
index ba7374d..5f0cf79 100644
--- a/utils/tools/h5dwalk/h5dwalk.c
+++ b/utils/tools/h5dwalk/h5dwalk.c
@@ -1311,7 +1311,7 @@ process_input_file(char *inputname, int myrank, int size)
index++;
}
linebuf[0] = 0;
- HDfree(cmdline);
+ free(cmdline);
}
if (output_log_file) {
@@ -1568,7 +1568,7 @@ main(int argc, char *argv[])
if (tool_selected && (args_byte_length > 0)) {
pred_head = mfu_pred_new();
- args_buf = (char *)HDmalloc((size_t)(args_byte_length + pathlen_total));
+ args_buf = (char *)malloc((size_t)(args_byte_length + pathlen_total));
}
/* filter files to only include hdf5 files */