summaryrefslogtreecommitdiffstats
path: root/test/getname.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/getname.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/getname.c')
-rw-r--r--test/getname.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/getname.c b/test/getname.c
index 5960e5c..9633a96 100644
--- a/test/getname.c
+++ b/test/getname.c
@@ -1470,7 +1470,7 @@ test_main(hid_t file_id, hid_t fapl)
char *name3;
/* Include the extra null character */
- name3 = (char *)HDmalloc(name_len + 1);
+ name3 = (char *)malloc(name_len + 1);
if (!name3)
TEST_ERROR;
@@ -1493,7 +1493,7 @@ test_main(hid_t file_id, hid_t fapl)
if (HDstrcmp(name3, "/g") != 0)
TEST_ERROR;
- HDfree(name3);
+ free(name3);
}
/* Close */