diff options
author | Vailin Choi <vchoi@hdfgroup.org> | 2016-06-04 02:52:35 (GMT) |
---|---|---|
committer | Vailin Choi <vchoi@hdfgroup.org> | 2016-06-04 02:52:35 (GMT) |
commit | 52ac99827b3bfa89f4fcf3539d58debeaa73bd36 (patch) | |
tree | 5d807b924e78eda8343fbebf5a19703778825f37 /src | |
parent | fcaf9c483ac83f9cc6765b032022d56081942d37 (diff) | |
download | hdf5-52ac99827b3bfa89f4fcf3539d58debeaa73bd36.zip hdf5-52ac99827b3bfa89f4fcf3539d58debeaa73bd36.tar.gz hdf5-52ac99827b3bfa89f4fcf3539d58debeaa73bd36.tar.bz2 |
[svn-r30009] Fix for h5format_convert daily test failures when --enable-using-memchecker.
Tested on jam, ostrich, moohan, osx1010test, quail, kite, mayll.
Diffstat (limited to 'src')
-rw-r--r-- | src/H5C.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -9558,6 +9558,8 @@ H5C_expunge_tag_type_metadata(H5F_t *f, hid_t dxpl_id, haddr_t tag, int type_id, entry_ptr = cache_ptr->index[u]; while(entry_ptr != NULL) { + H5C_cache_entry_t *next_entry_ptr = entry_ptr->ht_next; + /* Found one with the same tag and type id */ if(entry_ptr->tag == tag && entry_ptr->type->id == type_id) { @@ -9565,7 +9567,7 @@ H5C_expunge_tag_type_metadata(H5F_t *f, hid_t dxpl_id, haddr_t tag, int type_id, HGOTO_ERROR(H5E_CACHE, H5E_CANTEXPUNGE, FAIL, "H5C_expunge_entry() failed.") } /* end if */ - entry_ptr = entry_ptr->ht_next; + entry_ptr = next_entry_ptr; } /* end while */ } /* end for */ |