diff options
Diffstat (limited to 'src/btree/bt_vrfy.c')
-rw-r--r-- | src/btree/bt_vrfy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/btree/bt_vrfy.c b/src/btree/bt_vrfy.c index 43b205054cb..d720afe8881 100644 --- a/src/btree/bt_vrfy.c +++ b/src/btree/bt_vrfy.c @@ -441,7 +441,7 @@ celltype_err: WT_RET_MSG(session, WT_ERROR, /* Verify the subtree. */ WT_RET(__wt_page_in(session, child_ref, 0)); ret = __verify_tree(session, child_ref, vs); - WT_TRET(__wt_page_release(session, child_ref)); + WT_TRET(__wt_page_release(session, child_ref, 0)); WT_RET(ret); __wt_cell_unpack(child_ref->addr, unpack); @@ -469,7 +469,7 @@ celltype_err: WT_RET_MSG(session, WT_ERROR, /* Verify the subtree. */ WT_RET(__wt_page_in(session, child_ref, 0)); ret = __verify_tree(session, child_ref, vs); - WT_TRET(__wt_page_release(session, child_ref)); + WT_TRET(__wt_page_release(session, child_ref, 0)); WT_RET(ret); __wt_cell_unpack(child_ref->addr, unpack); |