diff options
Diffstat (limited to 'test/farray.c')
-rw-r--r-- | test/farray.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/test/farray.c b/test/farray.c index 39cd014..e37e00e 100644 --- a/test/farray.c +++ b/test/farray.c @@ -982,7 +982,7 @@ fiter_fw_init(const H5FA_create_t H5_ATTR_UNUSED *cparam, const farray_test_para fiter_fw_t *fiter; /* Forward element iteration object */ /* Allocate space for the element iteration object */ - fiter = (fiter_fw_t *)HDmalloc(sizeof(fiter_fw_t)); + fiter = (fiter_fw_t *)malloc(sizeof(fiter_fw_t)); assert(fiter); /* Initialize the element iteration object */ @@ -1034,7 +1034,7 @@ fiter_term(void *fiter) assert(fiter); /* Free iteration object */ - HDfree(fiter); + free(fiter); return (0); } /* end fiter_term() */ @@ -1068,7 +1068,7 @@ fiter_rv_init(const H5FA_create_t *cparam, const farray_test_param_t H5_ATTR_UNU fiter_rv_t *fiter; /* Reverse element iteration object */ /* Allocate space for the element iteration object */ - fiter = (fiter_rv_t *)HDmalloc(sizeof(fiter_rv_t)); + fiter = (fiter_rv_t *)malloc(sizeof(fiter_rv_t)); assert(fiter); /* Initialize reverse iteration info */ @@ -1134,11 +1134,11 @@ fiter_rnd_init(const H5FA_create_t H5_ATTR_UNUSED *cparam, const farray_test_par size_t u; /* Local index variable */ /* Allocate space for the element iteration object */ - fiter = (fiter_rnd_t *)HDmalloc(sizeof(fiter_rnd_t)); + fiter = (fiter_rnd_t *)malloc(sizeof(fiter_rnd_t)); assert(fiter); /* Allocate space for the array of shuffled indices */ - fiter->idx = (hsize_t *)HDmalloc(sizeof(hsize_t) * (size_t)cnt); + fiter->idx = (hsize_t *)malloc(sizeof(hsize_t) * (size_t)cnt); assert(fiter->idx); /* Initialize reverse iteration info */ @@ -1209,10 +1209,10 @@ fiter_rnd_term(void *_fiter) assert(fiter->idx); /* Free shuffled index array */ - HDfree(fiter->idx); + free(fiter->idx); /* Free iteration object */ - HDfree(fiter); + free(fiter); return (0); } /* end fiter_rnd_term() */ @@ -1248,7 +1248,7 @@ fiter_cyc_init(const H5FA_create_t H5_ATTR_UNUSED *cparam, const farray_test_par fiter_cyc_t *fiter; /* Cyclic element iteration object */ /* Allocate space for the element iteration object */ - fiter = (fiter_cyc_t *)HDmalloc(sizeof(fiter_cyc_t)); + fiter = (fiter_cyc_t *)malloc(sizeof(fiter_cyc_t)); assert(fiter); /* Initialize reverse iteration info */ |