summaryrefslogtreecommitdiffstats
path: root/src/H5AC.c
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2017-03-03 14:50:04 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2017-03-03 14:50:04 (GMT)
commit8f5a1f43d0cf527488be2b2805bac2b6c86b8c66 (patch)
tree1e7406feedc42fff560ca99d7ca5850672c68cf5 /src/H5AC.c
parent861a849530df32d9f1a495eb8b82877198dab7de (diff)
parent0df90f9f796d543549a30a648e864932126b6f52 (diff)
downloadhdf5-8f5a1f43d0cf527488be2b2805bac2b6c86b8c66.zip
hdf5-8f5a1f43d0cf527488be2b2805bac2b6c86b8c66.tar.gz
hdf5-8f5a1f43d0cf527488be2b2805bac2b6c86b8c66.tar.bz2
Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/~bmribler/hdf5_bmr_cpp into develop
Diffstat (limited to 'src/H5AC.c')
-rw-r--r--src/H5AC.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/H5AC.c b/src/H5AC.c
index 3710746..ee68a6f 100644
--- a/src/H5AC.c
+++ b/src/H5AC.c
@@ -616,12 +616,18 @@ H5AC_dest(H5F_t *f, hid_t dxpl_id)
#ifdef H5_HAVE_PARALLEL
if(aux_ptr != NULL) {
- if(aux_ptr->d_slist_ptr != NULL)
+ if(aux_ptr->d_slist_ptr != NULL) {
+ HDassert(H5SL_count(aux_ptr->d_slist_ptr) == 0);
H5SL_close(aux_ptr->d_slist_ptr);
- if(aux_ptr->c_slist_ptr != NULL)
+ } /* end if */
+ if(aux_ptr->c_slist_ptr != NULL) {
+ HDassert(H5SL_count(aux_ptr->c_slist_ptr) == 0);
H5SL_close(aux_ptr->c_slist_ptr);
- if(aux_ptr->candidate_slist_ptr != NULL)
+ } /* end if */
+ if(aux_ptr->candidate_slist_ptr != NULL) {
+ HDassert(H5SL_count(aux_ptr->candidate_slist_ptr) == 0);
H5SL_close(aux_ptr->candidate_slist_ptr);
+ } /* end if */
aux_ptr->magic = 0;
aux_ptr = H5FL_FREE(H5AC_aux_t, aux_ptr);
} /* end if */