summaryrefslogtreecommitdiffstats
path: root/test/API/tcoords.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/API/tcoords.c')
-rw-r--r--test/API/tcoords.c36
1 files changed, 18 insertions, 18 deletions
diff --git a/test/API/tcoords.c b/test/API/tcoords.c
index 9c66b40..5cd79c5 100644
--- a/test/API/tcoords.c
+++ b/test/API/tcoords.c
@@ -435,18 +435,18 @@ test_multiple_ends(hid_t file, hbool_t is_chunked)
hsize_t mem5_block[8] = {4, 5, 1, 4, 2, 1, 6, 2};
/* Initialize dynamic arrays */
- data_buf = HDcalloc(1, sizeof(*data_buf));
- CHECK_PTR(data_buf, "HDcalloc");
- mem1_buffer = HDcalloc(1, sizeof(*mem1_buffer));
- CHECK_PTR(data_buf, "HDcalloc");
- mem2_buffer = HDcalloc(1, sizeof(*mem2_buffer));
- CHECK_PTR(data_buf, "HDcalloc");
- mem3_buffer = HDcalloc(1, sizeof(*mem3_buffer));
- CHECK_PTR(data_buf, "HDcalloc");
- mem4_buffer = HDcalloc(1, sizeof(*mem4_buffer));
- CHECK_PTR(data_buf, "HDcalloc");
- mem5_buffer = HDcalloc(1, sizeof(*mem5_buffer));
- CHECK_PTR(data_buf, "HDcalloc");
+ data_buf = calloc(1, sizeof(*data_buf));
+ CHECK_PTR(data_buf, "calloc");
+ mem1_buffer = calloc(1, sizeof(*mem1_buffer));
+ CHECK_PTR(data_buf, "calloc");
+ mem2_buffer = calloc(1, sizeof(*mem2_buffer));
+ CHECK_PTR(data_buf, "calloc");
+ mem3_buffer = calloc(1, sizeof(*mem3_buffer));
+ CHECK_PTR(data_buf, "calloc");
+ mem4_buffer = calloc(1, sizeof(*mem4_buffer));
+ CHECK_PTR(data_buf, "calloc");
+ mem5_buffer = calloc(1, sizeof(*mem5_buffer));
+ CHECK_PTR(data_buf, "calloc");
/* Create and write the dataset */
sid = H5Screate_simple(8, da_dims, da_dims);
@@ -664,12 +664,12 @@ test_multiple_ends(hid_t file, hbool_t is_chunked)
ret = H5Pclose(plid);
CHECK(ret, FAIL, "H5Pclose");
- HDfree(data_buf);
- HDfree(mem1_buffer);
- HDfree(mem2_buffer);
- HDfree(mem3_buffer);
- HDfree(mem4_buffer);
- HDfree(mem5_buffer);
+ free(data_buf);
+ free(mem1_buffer);
+ free(mem2_buffer);
+ free(mem3_buffer);
+ free(mem4_buffer);
+ free(mem5_buffer);
}
/****************************************************************