diff options
author | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2012-05-18 20:44:39 (GMT) |
---|---|---|
committer | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2012-05-18 20:44:39 (GMT) |
commit | dc1343a0d3300ae537adbdc4c0b8f342f37e09e4 (patch) | |
tree | a0565f0d40a8e8dd1e4d7efc75e7079fd5452a60 /src/H5R.c | |
parent | 364471d19e935bed37e18ce78f3ceaf65cd50f29 (diff) | |
download | hdf5-dc1343a0d3300ae537adbdc4c0b8f342f37e09e4.zip hdf5-dc1343a0d3300ae537adbdc4c0b8f342f37e09e4.tar.gz hdf5-dc1343a0d3300ae537adbdc4c0b8f342f37e09e4.tar.bz2 |
[svn-r22380] - attribute and object exist callbacks should be part of get structs
- fix bug in passing req parameter
- free location in H5Rdereference
- add datatype close callback
- H5VL_CREATE_LINK_XXX should be H5VL_LINK_CREATE_XXX
Diffstat (limited to 'src/H5R.c')
-rw-r--r-- | src/H5R.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -535,6 +535,10 @@ H5Rdereference2(hid_t obj_id, hid_t oapl_id, H5R_type_t ref_type, const void *_r HGOTO_ERROR(H5E_SYM, H5E_CANTINIT, FAIL, "unable to open object") done: + if (NULL != location) { + free (location); + location = NULL; + } FUNC_LEAVE_API(ret_value) } /* end H5Rdereference2() */ |