summaryrefslogtreecommitdiffstats
path: root/test/gen_file_image.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/gen_file_image.c')
-rw-r--r--test/gen_file_image.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/gen_file_image.c b/test/gen_file_image.c
index b2faefd..8b0e00f 100644
--- a/test/gen_file_image.c
+++ b/test/gen_file_image.c
@@ -45,7 +45,7 @@ main(void)
int *data = NULL; /* Dataset data */
/* Initialize the data */
- if (NULL == (data = (int *)HDmalloc(SPACE_DIM1 * SPACE_DIM2 * sizeof(int))))
+ if (NULL == (data = (int *)malloc(SPACE_DIM1 * SPACE_DIM2 * sizeof(int))))
TEST_ERROR;
for (i = 0; i < SPACE_DIM1; i++)
@@ -80,7 +80,7 @@ main(void)
error:
if (data)
- HDfree(data);
+ free(data);
H5E_BEGIN_TRY
{
H5Dclose(did);