diff options
author | vchoi <vchoi@jelly.ad.hdfgroup.org> | 2021-08-09 16:59:03 (GMT) |
---|---|---|
committer | vchoi <vchoi@jelly.ad.hdfgroup.org> | 2021-08-09 16:59:03 (GMT) |
commit | cf4a523ab7e6041837cafab2ca2c78a6a01fbb61 (patch) | |
tree | 6f96af4ccf6154f7773bfe4469096d6644956d8c | |
parent | 94ca861b4ee46ef81edbd31df325a33d5681b7dd (diff) | |
download | hdf5-cf4a523ab7e6041837cafab2ca2c78a6a01fbb61.zip hdf5-cf4a523ab7e6041837cafab2ca2c78a6a01fbb61.tar.gz hdf5-cf4a523ab7e6041837cafab2ca2c78a6a01fbb61.tar.bz2 |
Modifications based on PR feedback.
-rw-r--r-- | src/H5Fvfd_swmr.c | 3 |
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; |