summaryrefslogtreecommitdiffstats
path: root/fortran/src/H5If.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-06-28 00:42:29 (GMT)
committerGitHub <noreply@github.com>2023-06-28 00:42:29 (GMT)
commit942739e6fbea0ebf736c35f461e1386396b54e11 (patch)
treead98c75926ac1862cae0258ecd5d14f803060112 /fortran/src/H5If.c
parent636b5d073b273b277d0c2988f33dc1b8eec7a97e (diff)
downloadhdf5-942739e6fbea0ebf736c35f461e1386396b54e11.zip
hdf5-942739e6fbea0ebf736c35f461e1386396b54e11.tar.gz
hdf5-942739e6fbea0ebf736c35f461e1386396b54e11.tar.bz2
Remove HD/hbool_t from fortran (#3182)
Diffstat (limited to 'fortran/src/H5If.c')
-rw-r--r--fortran/src/H5If.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fortran/src/H5If.c b/fortran/src/H5If.c
index ffc6e08..40d5c8d 100644
--- a/fortran/src/H5If.c
+++ b/fortran/src/H5If.c
@@ -94,7 +94,7 @@ h5iget_name_c(hid_t_f *obj_id, _fcd buf, size_t_f *buf_size, size_t_f *name_size
* Allocate buffer to hold name of an object
*/
c_buf_size = (size_t)*buf_size + 1;
- c_buf = (char *)HDmalloc(c_buf_size);
+ c_buf = (char *)malloc(c_buf_size);
if (c_buf == NULL)
return ret_value;
@@ -114,7 +114,7 @@ h5iget_name_c(hid_t_f *obj_id, _fcd buf, size_t_f *buf_size, size_t_f *name_size
ret_value = 0;
DONE:
- HDfree(c_buf);
+ free(c_buf);
return ret_value;
}