diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2017-03-03 14:50:04 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2017-03-03 14:50:04 (GMT) |
commit | 8f5a1f43d0cf527488be2b2805bac2b6c86b8c66 (patch) | |
tree | 1e7406feedc42fff560ca99d7ca5850672c68cf5 /src/H5AC.c | |
parent | 861a849530df32d9f1a495eb8b82877198dab7de (diff) | |
parent | 0df90f9f796d543549a30a648e864932126b6f52 (diff) | |
download | hdf5-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.c | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -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 */ |