summaryrefslogtreecommitdiffstats
path: root/src/H5AC.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2017-02-25 11:40:00 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2017-02-25 11:40:00 (GMT)
commit321adc3a6f35e3e8f3b3c7be8680fcdff6660db6 (patch)
treee4ea7988d00c7a52eb47b451d035f92f1d084bc4 /src/H5AC.c
parent1b8c195eb7b277c6b39061b6acac2583a7ee100a (diff)
downloadhdf5-321adc3a6f35e3e8f3b3c7be8680fcdff6660db6.zip
hdf5-321adc3a6f35e3e8f3b3c7be8680fcdff6660db6.tar.gz
hdf5-321adc3a6f35e3e8f3b3c7be8680fcdff6660db6.tar.bz2
Align w/incoming page buffering changes.
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 */