summaryrefslogtreecommitdiffstats
path: root/src/H5Odtype.c
diff options
context:
space:
mode:
authorNeil Fortner <nfortne2@hdfgroup.org>2008-08-11 15:20:25 (GMT)
committerNeil Fortner <nfortne2@hdfgroup.org>2008-08-11 15:20:25 (GMT)
commit6920ac701dd13c8d77518841287208602a35ace8 (patch)
tree24e0904150bc500d17bda2730a55272de45e24fb /src/H5Odtype.c
parentb3feb85ada25c32de3086197d333c81c11fb30c1 (diff)
downloadhdf5-6920ac701dd13c8d77518841287208602a35ace8.zip
hdf5-6920ac701dd13c8d77518841287208602a35ace8.tar.gz
hdf5-6920ac701dd13c8d77518841287208602a35ace8.tar.bz2
[svn-r15460] Port of fix for bz#1266 back to 1.6
Tested: kagiso, linew, smirom (h5committest)
Diffstat (limited to 'src/H5Odtype.c')
-rw-r--r--src/H5Odtype.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/H5Odtype.c b/src/H5Odtype.c
index cec423c..49bc4c2 100644
--- a/src/H5Odtype.c
+++ b/src/H5Odtype.c
@@ -831,14 +831,6 @@ H5O_dtype_decode(H5F_t *f, hid_t UNUSED dxpl_id, const uint8_t *p)
ret_value=dt;
done:
- if(ret_value==NULL) {
- if(dt != NULL) {
- if(dt->shared != NULL)
- H5FL_FREE(H5T_shared_t, dt->shared);
- H5FL_FREE(H5T_t, dt);
- } /* end if */
- } /* end if */
-
FUNC_LEAVE_NOAPI(ret_value);
}