summaryrefslogtreecommitdiffstats
path: root/test/external_common.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/external_common.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/external_common.c')
-rw-r--r--test/external_common.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/external_common.c b/test/external_common.c
index 7d72605..25bf43e 100644
--- a/test/external_common.c
+++ b/test/external_common.c
@@ -46,7 +46,7 @@ reset_raw_data_files(hbool_t is_env)
/* Set up garbage buffer */
garbage_count = N_EXT_FILES * GARBAGE_PER_FILE;
- if (NULL == (garbage = (uint8_t *)HDcalloc(garbage_count, sizeof(uint8_t))))
+ if (NULL == (garbage = (uint8_t *)calloc(garbage_count, sizeof(uint8_t))))
goto error;
for (i = 0; i < garbage_count; i++)
garbage[i] = 0xFF;
@@ -113,13 +113,13 @@ reset_raw_data_files(hbool_t is_env)
HDclose(fd);
} /* end for */
- HDfree(garbage);
+ free(garbage);
return SUCCEED;
error:
if (fd)
HDclose(fd);
if (garbage)
- HDfree(garbage);
+ free(garbage);
return FAIL;
}