diff options
Diffstat (limited to 'fortran/src/H5Git.c')
-rw-r--r-- | fortran/src/H5Git.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fortran/src/H5Git.c b/fortran/src/H5Git.c index 804f78c..9e7cf5a 100644 --- a/fortran/src/H5Git.c +++ b/fortran/src/H5Git.c @@ -15,6 +15,7 @@ /* This files contains C stubs for H5G Fortran APIs */ #include "hdf5.h" +#include "H5private.h" #include "H5Git.h" #define FALSE 0 @@ -126,7 +127,7 @@ H5Gget_obj_info_idx( hid_t loc_id, char *group_name, int idx, char **objname, si (*objname)[max_objname_len]='\0'; /* Free the name we strdup'ed in obj_info() */ - free(retVal.name); + HDfree(retVal.name); } /* end if */ else *(*objname)='\0'; |