summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLarry Knox <lrknox@hdfgroup.org>2017-01-26 05:02:44 (GMT)
committerLarry Knox <lrknox@hdfgroup.org>2017-01-26 05:02:44 (GMT)
commit05ea6be738343a94f7e2871920b27c0fb4435bc5 (patch)
tree3ad53a11b6c5553ca302419c38d23929a27cbbb0
parenta43ad4b9a4a2cd49dcc81716586e5f29ef67af77 (diff)
parent2d889608946c0e8a91bd38162ceeaf1166779921 (diff)
downloadhdf5-05ea6be738343a94f7e2871920b27c0fb4435bc5.zip
hdf5-05ea6be738343a94f7e2871920b27c0fb4435bc5.tar.gz
hdf5-05ea6be738343a94f7e2871920b27c0fb4435bc5.tar.bz2
Merge pull request #265 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:develop to develop
* commit '2d889608946c0e8a91bd38162ceeaf1166779921': Commit Vailin's fix for the h5format_convert test failure. DAILYTEST-256 #2.
-rw-r--r--src/H5C.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/H5C.c b/src/H5C.c
index 4adee6d..22cb0df 100644
--- a/src/H5C.c
+++ b/src/H5C.c
@@ -1594,6 +1594,11 @@ done:
HGOTO_ERROR(H5E_CACHE, H5E_SYSTEM, FAIL, "an extreme sanity check failed on exit.\n")
#endif /* H5C_DO_EXTREME_SANITY_CHECKS */
+ if(ret_value < 0 && entry_ptr->tag_info) {
+ if(H5C__untag_entry(cache_ptr, entry_ptr) < 0)
+ HDONE_ERROR(H5E_CACHE, H5E_CANTREMOVE, FAIL, "can't remove entry from tag list")
+ }
+
FUNC_LEAVE_NOAPI(ret_value)
} /* H5C_insert_entry() */