summaryrefslogtreecommitdiffstats
path: root/src/H5B2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5B2.c')
-rw-r--r--src/H5B2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/H5B2.c b/src/H5B2.c
index 1efc000..070d3b3 100644
--- a/src/H5B2.c
+++ b/src/H5B2.c
@@ -1053,6 +1053,7 @@ H5B2_modify(H5F_t *f, hid_t dxpl_id, const H5B2_class_t *type, haddr_t addr,
/* Safely grab pointer to reference counted shared B-tree info, so we can release the B-tree header if necessary */
bt2_shared = bt2->shared;
+ HDassert(bt2_shared);
H5RC_INC(bt2_shared);
incr_rc = TRUE;