summaryrefslogtreecommitdiffstats
path: root/src/H5R.c
diff options
context:
space:
mode:
authorMohamad Chaarawi <chaarawi@hdfgroup.org>2012-05-18 20:44:39 (GMT)
committerMohamad Chaarawi <chaarawi@hdfgroup.org>2012-05-18 20:44:39 (GMT)
commitdc1343a0d3300ae537adbdc4c0b8f342f37e09e4 (patch)
treea0565f0d40a8e8dd1e4d7efc75e7079fd5452a60 /src/H5R.c
parent364471d19e935bed37e18ce78f3ceaf65cd50f29 (diff)
downloadhdf5-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.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/H5R.c b/src/H5R.c
index 7ae5e33..30b44ac 100644
--- a/src/H5R.c
+++ b/src/H5R.c
@@ -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() */