diff --git a/src/jrd/validation.cpp b/src/jrd/validation.cpp index 64065e7382..f4a9a620a4 100644 --- a/src/jrd/validation.cpp +++ b/src/jrd/validation.cpp @@ -1829,8 +1829,8 @@ static RTN walk_pointer_page( thread_db* tdbb, if (page->ppg_relation != relation->rel_id || page->ppg_sequence != sequence) { - return corrupt(tdbb, control, VAL_P_PAGE_INCONSISTENT, relation, - sequence); + CCH_RELEASE(tdbb, &window); + return corrupt(tdbb, control, VAL_P_PAGE_INCONSISTENT, relation, sequence); } /* Walk the data pages (someday we may optionally walk pages with "large objects" */