summaryrefslogtreecommitdiffstats
path: root/tools/test/h5copy/h5copygentest.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/test/h5copy/h5copygentest.c')
-rw-r--r--tools/test/h5copy/h5copygentest.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/test/h5copy/h5copygentest.c b/tools/test/h5copy/h5copygentest.c
index 9fb5b74..899eaa7 100644
--- a/tools/test/h5copy/h5copygentest.c
+++ b/tools/test/h5copy/h5copygentest.c
@@ -238,10 +238,10 @@ gent_named_vl(hid_t loc_id)
/* allocate and initialize VL dataset to write */
buf[0].len = 1;
- buf[0].p = HDmalloc(1 * sizeof(int));
+ buf[0].p = malloc(1 * sizeof(int));
((int *)buf[0].p)[0] = 1;
buf[1].len = 2;
- buf[1].p = HDmalloc(2 * sizeof(int));
+ buf[1].p = malloc(2 * sizeof(int));
((int *)buf[1].p)[0] = 2;
((int *)buf[1].p)[1] = 3;
@@ -284,16 +284,16 @@ gent_nested_vl(hid_t loc_id)
/* allocate and initialize VL dataset to write */
buf[0].len = 1;
- buf[0].p = HDmalloc(1 * sizeof(hvl_t));
+ buf[0].p = malloc(1 * sizeof(hvl_t));
tvl = (hvl_t *)buf[0].p;
- tvl->p = HDmalloc(1 * sizeof(int));
+ tvl->p = malloc(1 * sizeof(int));
tvl->len = 1;
((int *)tvl->p)[0] = 1;
buf[1].len = 1;
- buf[1].p = HDmalloc(1 * sizeof(hvl_t));
+ buf[1].p = malloc(1 * sizeof(hvl_t));
tvl = (hvl_t *)buf[1].p;
- tvl->p = HDmalloc(2 * sizeof(int));
+ tvl->p = malloc(2 * sizeof(int));
tvl->len = 2;
((int *)tvl->p)[0] = 2;
((int *)tvl->p)[1] = 3;