Skip to content

Commit

Permalink
fix: HDmalloc -> malloc
Browse files Browse the repository at this point in the history
  • Loading branch information
hyoklee committed Jun 30, 2023
1 parent b038e36 commit 4872ddc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/H5FDros3.c
Original file line number Diff line number Diff line change
Expand Up @@ -849,7 +849,7 @@ H5Pset_fapl_ros3_token(hid_t fapl_id, const char *token)
HDmemcpy(token_src, token, HDstrlen(token) + 1);
}
else {
token_src = HDmalloc(sizeof(char) * (H5FD_ROS3_MAX_SECRET_TOK_LEN + 1));
token_src = malloc(sizeof(char) * (H5FD_ROS3_MAX_SECRET_TOK_LEN + 1));
HDmemcpy(token_src, token, HDstrlen(token) + 1);
if (H5P_insert(plist, ROS3_TOKEN_PROP_NAME, sizeof(char *), &token_src, NULL, NULL, NULL, NULL,
H5FD__ros3_str_token_delete, H5FD__ros3_str_token_copy, H5FD__ros3_str_token_cmp,
Expand Down

0 comments on commit 4872ddc

Please sign in to comment.