summaryrefslogtreecommitdiffstats
path: root/src/H5MF.c
diff options
context:
space:
mode:
authorlrknox <lrknox>2017-03-20 19:47:57 (GMT)
committerlrknox <lrknox>2017-03-20 19:47:57 (GMT)
commit6ac4648fd9e557c886aff56e583e5e29a7f27ca1 (patch)
tree19743ea4318bf2f42b21894a744b3565b90e8e02 /src/H5MF.c
parent383202e8566f123c3b238f14cbc568ddb2b1f235 (diff)
parent214100d05bd2b479a20f97e5c46d1dab2eeca759 (diff)
downloadhdf5-6ac4648fd9e557c886aff56e583e5e29a7f27ca1.zip
hdf5-6ac4648fd9e557c886aff56e583e5e29a7f27ca1.tar.gz
hdf5-6ac4648fd9e557c886aff56e583e5e29a7f27ca1.tar.bz2
Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/~lrknox/hdf5_lrk into develop
Diffstat (limited to 'src/H5MF.c')
-rw-r--r--src/H5MF.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/H5MF.c b/src/H5MF.c
index 358e326..87c910c 100644
--- a/src/H5MF.c
+++ b/src/H5MF.c
@@ -1347,6 +1347,12 @@ HDfprintf(stderr, "%s: Entering: alloc_type = %u, addr = %a, size = %Hu, extra_r
HDassert(f);
HDassert(H5F_INTENT(f) & H5F_ACC_RDWR);
+ if(f->shared->first_alloc_dealloc) {
+ HDassert(! H5AC_cache_image_pending(f));
+ if(H5MF_tidy_self_referential_fsm_hack(f, dxpl_id) < 0)
+ HGOTO_ERROR(H5E_RESOURCE, H5E_CANTFREE, FAIL, "tidy of self referential fsm hack failed")
+ } /* end if */
+
/* Set mapped type, treating global heap as raw data */
map_type = (alloc_type == H5FD_MEM_GHEAP) ? H5FD_MEM_DRAW : alloc_type;