diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2023-06-28 00:42:29 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-28 00:42:29 (GMT) |
commit | 942739e6fbea0ebf736c35f461e1386396b54e11 (patch) | |
tree | ad98c75926ac1862cae0258ecd5d14f803060112 /fortran/src/H5Lf.c | |
parent | 636b5d073b273b277d0c2988f33dc1b8eec7a97e (diff) | |
download | hdf5-942739e6fbea0ebf736c35f461e1386396b54e11.zip hdf5-942739e6fbea0ebf736c35f461e1386396b54e11.tar.gz hdf5-942739e6fbea0ebf736c35f461e1386396b54e11.tar.bz2 |
Remove HD/hbool_t from fortran (#3182)
Diffstat (limited to 'fortran/src/H5Lf.c')
-rw-r--r-- | fortran/src/H5Lf.c | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/fortran/src/H5Lf.c b/fortran/src/H5Lf.c index c7ce511..363fa6d 100644 --- a/fortran/src/H5Lf.c +++ b/fortran/src/H5Lf.c @@ -75,9 +75,9 @@ h5lcopy_c(hid_t_f *src_loc_id, _fcd src_name, size_t_f *src_namelen, hid_t_f *de done: if (c_src_name) - HDfree(c_src_name); + free(c_src_name); if (c_dest_name) - HDfree(c_dest_name); + free(c_dest_name); return ret_value; } @@ -135,11 +135,11 @@ h5lcreate_external_c(_fcd file_name, size_t_f *file_namelen, _fcd obj_name, size done: if (c_file_name) - HDfree(c_file_name); + free(c_file_name); if (c_obj_name) - HDfree(c_obj_name); + free(c_obj_name); if (c_link_name) - HDfree(c_link_name); + free(c_link_name); return ret_value; } @@ -211,7 +211,7 @@ h5lget_info_c(hid_t_f *link_loc_id, _fcd link_name, size_t_f *link_namelen, int_ done: if (c_link_name) - HDfree(c_link_name); + free(c_link_name); return ret_value; } @@ -389,9 +389,9 @@ h5lmove_c(hid_t_f *src_loc_id, _fcd src_name, size_t_f *src_namelen, hid_t_f *de done: if (c_src_name) - HDfree(c_src_name); + free(c_src_name); if (c_dest_name) - HDfree(c_dest_name); + free(c_dest_name); return ret_value; } @@ -443,7 +443,7 @@ h5lget_name_by_idx_c(hid_t_f *loc_id, _fcd group_name, size_t_f *group_namelen, /* * Allocate buffer to hold name of an attribute */ - if (NULL == (c_name = (char *)HDmalloc(c_size))) + if (NULL == (c_name = (char *)malloc(c_size))) HGOTO_DONE(FAIL) if ((c_size_link = @@ -461,9 +461,9 @@ h5lget_name_by_idx_c(hid_t_f *loc_id, _fcd group_name, size_t_f *group_namelen, done: if (c_group_name) - HDfree(c_group_name); + free(c_group_name); if (c_name) - HDfree(c_name); + free(c_name); return ret_value; } @@ -625,9 +625,9 @@ done: /* done: */ /* if(c_src_name) */ -/* HDfree(c_src_name); */ +/* free(c_src_name); */ /* if(c_dest_name) */ -/* HDfree(c_dest_name); */ +/* free(c_dest_name); */ /* return ret_value; */ /* } */ @@ -677,7 +677,7 @@ h5lget_val_c(hid_t_f *link_loc_id, _fcd link_name, size_t_f *link_namelen, size_ done: if (c_link_name) - HDfree(c_link_name); + free(c_link_name); return ret_value; } @@ -739,7 +739,7 @@ h5literate_by_name_c(hid_t_f *loc_id, _fcd name, size_t_f *namelen, int_f *index *idx = (hsize_t_f)idx_c; if (c_name) - HDfree(c_name); + free(c_name); return ret_value; } |