summaryrefslogtreecommitdiffstats
path: root/test/efc.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 /test/efc.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 'test/efc.c')
-rw-r--r--test/efc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/efc.c b/test/efc.c
index 1033469..229359e 100644
--- a/test/efc.c
+++ b/test/efc.c
@@ -2666,7 +2666,7 @@ main(void)
/* Allocate memory for filenames */
for (i = 0; i < N_FILENAMES; i++) {
- filename[i] = (char *)HDcalloc(PATH_MAX, sizeof(char));
+ filename[i] = (char *)calloc(PATH_MAX, sizeof(char));
}
/* Patch filenames */
@@ -2716,7 +2716,7 @@ main(void)
h5_clean_files(FILENAME, fapl_id);
for (i = 0; i < N_FILENAMES; i++) {
- HDfree(filename[i]);
+ free(filename[i]);
}
return EXIT_SUCCESS;
@@ -2734,7 +2734,7 @@ error:
H5CX_pop(FALSE);
for (i = 0; i < N_FILENAMES; i++) {
- HDfree(filename[i]);
+ free(filename[i]);
}
return EXIT_FAILURE;