summaryrefslogtreecommitdiffstats
path: root/test/dangle.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-07-27 20:43:30 (GMT)
committerGitHub <noreply@github.com>2023-07-27 20:43:30 (GMT)
commit1e91d96fa02466ffe451319bdac1005f84dc7993 (patch)
tree4de04ef502c313dfd766497b20235188761146c0 /test/dangle.c
parent95e5349089b95dfb95f0f8ce2d6db1bc04ba6c82 (diff)
downloadhdf5-1e91d96fa02466ffe451319bdac1005f84dc7993.zip
hdf5-1e91d96fa02466ffe451319bdac1005f84dc7993.tar.gz
hdf5-1e91d96fa02466ffe451319bdac1005f84dc7993.tar.bz2
Brings over most of the HD prefix removal (#3293)
Diffstat (limited to 'test/dangle.c')
-rw-r--r--test/dangle.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/dangle.c b/test/dangle.c
index 36984b8..d0b0295 100644
--- a/test/dangle.c
+++ b/test/dangle.c
@@ -598,7 +598,7 @@ test_dangle_force(void)
TEST_ERROR;
/* Allocate the array of object IDs */
- if (NULL == (objs = (hid_t *)HDcalloc((size_t)count, sizeof(hid_t))))
+ if (NULL == (objs = (hid_t *)calloc((size_t)count, sizeof(hid_t))))
TEST_ERROR;
/* Get the list of open IDs */
@@ -620,14 +620,14 @@ test_dangle_force(void)
HDremove(filename);
/* Release object ID array */
- HDfree(objs);
+ free(objs);
PASSED();
return 0;
error:
if (objs)
- HDfree(objs);
+ free(objs);
return 1;
}