summaryrefslogtreecommitdiffstats
path: root/test/ttsafe_acreate.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/ttsafe_acreate.c')
-rw-r--r--test/ttsafe_acreate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ttsafe_acreate.c b/test/ttsafe_acreate.c
index fb84c6e..84105e8 100644
--- a/test/ttsafe_acreate.c
+++ b/test/ttsafe_acreate.c
@@ -100,7 +100,7 @@ tts_acreate(void)
* with the dataset
*/
for (i = 0; i < NUM_THREADS; i++) {
- attrib_data = (ttsafe_name_data_t *)HDmalloc(sizeof(ttsafe_name_data_t));
+ attrib_data = (ttsafe_name_data_t *)malloc(sizeof(ttsafe_name_data_t));
attrib_data->dataset = dataset;
attrib_data->datatype = datatype;
attrib_data->dataspace = dataspace;
@@ -158,7 +158,7 @@ tts_acreate_thread(void *client_data)
CHECK(attribute, H5I_INVALID_HID, "H5Acreate2");
/* Write data to the attribute */
- attribute_data = (int *)HDmalloc(sizeof(int));
+ attribute_data = (int *)malloc(sizeof(int));
*attribute_data = attrib_data->current_index;
status = H5Awrite(attribute, H5T_NATIVE_INT, attribute_data);
CHECK(status, FAIL, "H5Awrite");