summaryrefslogtreecommitdiffstats
path: root/src/H5Fvfd_swmr.c
diff options
context:
space:
mode:
authorvchoi <vchoi@jelly.ad.hdfgroup.org>2021-08-09 16:59:03 (GMT)
committervchoi <vchoi@jelly.ad.hdfgroup.org>2021-08-09 16:59:03 (GMT)
commitcf4a523ab7e6041837cafab2ca2c78a6a01fbb61 (patch)
tree6f96af4ccf6154f7773bfe4469096d6644956d8c /src/H5Fvfd_swmr.c
parent94ca861b4ee46ef81edbd31df325a33d5681b7dd (diff)
downloadhdf5-cf4a523ab7e6041837cafab2ca2c78a6a01fbb61.zip
hdf5-cf4a523ab7e6041837cafab2ca2c78a6a01fbb61.tar.gz
hdf5-cf4a523ab7e6041837cafab2ca2c78a6a01fbb61.tar.bz2
Modifications based on PR feedback.
Diffstat (limited to 'src/H5Fvfd_swmr.c')
-rw-r--r--src/H5Fvfd_swmr.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/H5Fvfd_swmr.c b/src/H5Fvfd_swmr.c
index ebb57d6..e2e7568 100644
--- a/src/H5Fvfd_swmr.c
+++ b/src/H5Fvfd_swmr.c
@@ -1774,8 +1774,7 @@ vfd_swmr_enlarge_shadow_index(H5F_t *f)
ret_value = shared->mdf_idx = new_mdf_idx;
shared->mdf_idx_len = new_mdf_idx_len;
- if(shared->old_mdf_idx)
- H5MM_xfree(f->shared->old_mdf_idx);
+ H5MM_xfree(f->shared->old_mdf_idx);
shared->old_mdf_idx = old_mdf_idx;
f->shared->old_mdf_idx_len = old_mdf_idx_len;