diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2000-11-16 17:29:26 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2000-11-16 17:29:26 (GMT) |
commit | eddfdc1274cc129b2d8b65eeecd8c7c3273244b6 (patch) | |
tree | fc4760ebc190062e5adf0db11b2f9557d7f9fe27 /src | |
parent | b39c60db459793993b21b6231cb990e4646f24b3 (diff) | |
download | hdf5-eddfdc1274cc129b2d8b65eeecd8c7c3273244b6.zip hdf5-eddfdc1274cc129b2d8b65eeecd8c7c3273244b6.tar.gz hdf5-eddfdc1274cc129b2d8b65eeecd8c7c3273244b6.tar.bz2 |
[svn-r2946] Purpose:
Small code optimzation
Description:
Removed some unnecessary calls to H5MM_xfree
Platforms tested:
Solaris 2.6 (baldric)
Diffstat (limited to 'src')
-rw-r--r-- | src/H5T.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -6584,8 +6584,10 @@ H5T_cmp(const H5T_t *dt1, const H5T_t *dt2) } /* end switch */ done: - H5MM_xfree(idx1); - H5MM_xfree(idx2); + if(idx1!=NULL) + H5MM_xfree(idx1); + if(idx2!=NULL) + H5MM_xfree(idx2); FUNC_LEAVE(ret_value); } |